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