1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name colordiff |
---|
5 | version 1.0.2 |
---|
6 | categories devel textproc |
---|
7 | maintainers landonf@opendarwin.org |
---|
8 | description Color-highlighted diff(1) output |
---|
9 | long_description The Perl script colordiff is a wrapper for diff(1) \ |
---|
10 | and produces the same output but with pretty 'syntax' \ |
---|
11 | highlighting. Colour schemes can be customized. |
---|
12 | homepage http://colordiff.sourceforge.net/ |
---|
13 | platforms darwin |
---|
14 | master_sites ${homepage} |
---|
15 | checksums md5 ac8eb1433fc817d6044ae8c0916b8f53 |
---|
16 | patchfiles patch-Makefile; # for case-insensitive file systems |
---|
17 | build.type bsd |
---|
18 | build {} |
---|
19 | destroot.args INSTALL_DIR=${destroot}/${prefix}/bin \ |
---|
20 | MAN_DIR=${destroot}/${prefix}/share/man/man1 \ |
---|
21 | ETC_DIR=${destroot}/${prefix}/etc |
---|
22 | |
---|
23 | configure { reinplace s|/etc|${prefix}/etc|g ${worksrcpath}/colordiff.pl } |
---|
24 | |
---|
25 | post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name} |
---|
26 | xinstall -m 644 -v -W ${worksrcpath} \ |
---|
27 | BUGS CHANGES COPYING README TODO \ |
---|
28 | ${destroot}${prefix}/share/doc/${name} |
---|
29 | } |
---|
30 | |
---|