Ticket #1685: Portfile

File Portfile, 990 bytes (added by matt@…, 20 years ago)

Portfile fixed.

Line 
1# $Id: $
2
3PortSystem 1.0
4name                    colordiff
5version                 1.0.2
6categories              devel textproc
7maintainers             landonf@opendarwin.org
8description             Color-highlighted diff(1) output
9long_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.
12homepage                http://colordiff.sourceforge.net/
13platforms               darwin
14master_sites            ${homepage}
15checksums               md5 ac8eb1433fc817d6044ae8c0916b8f53
16patchfiles              patch-Makefile; # for case-insensitive file systems
17build.type              bsd
18build                   {}
19destroot.args           INSTALL_DIR=${destroot}/${prefix}/bin \
20                        MAN_DIR=${destroot}/${prefix}/share/man/man1 \
21                        ETC_DIR=${destroot}/${prefix}/etc
22
23configure { reinplace s|/etc|${prefix}/etc|g ${worksrcpath}/colordiff.pl }
24
25post-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