source: trunk/dports/devel/colordiff/Portfile @ 25622

Last change on this file since 25622 was 25622, checked in by nox@…, 13 years ago

Updated to version 1.0.6a.
Added standard documentation installation.
Added livecheck support.
Now installs example colordiffrc files for both light and dark backgrounds.
Taken over.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 25622 2007-05-27 02:09:50Z nox@macports.org $
2PortSystem 1.0
3name                    colordiff
4version                 1.0.6a
5epoch           20070425
6categories              devel textproc
7maintainers             nox
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 db49d0779a453c96f0859cd20b7b1aa9 \
16                sha1 8504307169399526fdc9ea71125f5e6b5924e351 \
17                rmd160 c3ccc3f1bab08d05a3c11b31d4db6123c9891fd1
18patchfiles              patch-Makefile
19build.type              bsd
20build                   {}
21destroot.args           INSTALL_DIR=${prefix}/bin \
22                        MAN_DIR=${prefix}/share/man/man1 \
23                        ETC_DIR=${prefix}/etc \
24                        DESTROOT_DIR=${destroot}
25
26post-destroot {
27    set docdir ${prefix}/share/doc/${name}-${version}
28
29    xinstall -m 0755 -d ${destroot}${docdir}
30    xinstall -m 0644 -W ${worksrcpath} BUGS CHANGES COPYING README ${destroot}${docdir}
31}
32
33use_configure   no
34
35livecheck.check regex
36livecheck.url   ${homepage}
37livecheck.regex {<h4>.*version ([^ ]*).*</h4>}
Note: See TracBrowser for help on using the repository browser.