Ticket #56664: Portfile_diff_highlight.2.diff

File Portfile_diff_highlight.2.diff, 861 bytes (added by iEFdev, 6 years ago)
  • (a) a/Portfile.orig vs. (b) b/Portfile

    diff --git a/Portfile.orig b/Portfile
    index 44d286a..5801275 100644
    a b variant credential_osxkeychain description {Install git credential-osxkeychain u 
    219219    }
    220220}
    221221
     222variant diff_highlight description {Install the diff-highlight utility from contrib} {
     223
     224    post-build {
     225        system -W "${worksrcpath}/contrib/diff-highlight" "make"
     226    }
     227
     228    notes "
     229To add the use of \"diff-highlight\" to config, run:
     230
     231    $ git config --global interactive.diffFilter diff-highlight
     232"
     233
     234}
     235
    222236platform darwin 8 {
    223237    build.args-append   NO_APPLE_COMMON_CRYPTO=1
    224238}
    225239
    226 default_variants    +doc +pcre +credential_osxkeychain
     240default_variants    +doc +pcre +credential_osxkeychain +diff_highlight
    227241
    228242livecheck.type          regexm
    229243livecheck.regex         {<span class="version">.*?(\d+\.\d+\.\d+).*?</span>}