diff --git a/Portfile.orig b/Portfile
index 44d286a..5801275 100644
a
|
b
|
variant credential_osxkeychain description {Install git credential-osxkeychain u |
219 | 219 | } |
220 | 220 | } |
221 | 221 | |
| 222 | variant 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 " |
| 229 | To add the use of \"diff-highlight\" to config, run: |
| 230 | |
| 231 | $ git config --global interactive.diffFilter diff-highlight |
| 232 | " |
| 233 | |
| 234 | } |
| 235 | |
222 | 236 | platform darwin 8 { |
223 | 237 | build.args-append NO_APPLE_COMMON_CRYPTO=1 |
224 | 238 | } |
225 | 239 | |
226 | | default_variants +doc +pcre +credential_osxkeychain |
| 240 | default_variants +doc +pcre +credential_osxkeychain +diff_highlight |
227 | 241 | |
228 | 242 | livecheck.type regexm |
229 | 243 | livecheck.regex {<span class="version">.*?(\d+\.\d+\.\d+).*?</span>} |