Ticket #9173: Portfile

File Portfile, 1.2 KB (added by aschenke@…, 18 years ago)

Portfile for latexdiff-0.4

Line 
1# $Id: $
2
3PortSystem       1.0
4name                 latexdiff
5version              0.4
6revision             0
7categories           textproc
8maintainers          darwinports@opendarwin.org
9description          determine and mark up significant differences between latex files
10long_description latexdiff is a Perl script, which compares two latex files and marks \
11                 up significant differences between them (i.e. a diff for latex files). \
12                 Various options are available for visual markup using standard latex \
13                 packages such as color.sty. Changes not directly affecting visible \
14                 text, for example in formatting commands, are still marked in the \
15                 latex source.
16master_sites     ftp://tug.ctan.org/pub/tex-archive/support/
17checksums            md5 dbe6ec4e50aef70f8319ad87e9694b2a
18extract.suffix   .zip
19distname         ${name}
20use_zip          yes
21
22depends_run      bin:perl:perl5.8
23
24configure        {
25                    reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Makefile
26                    reinplace "s|(INSTALLPATH)/man|(INSTALLPATH)/share/man|g" ${worksrcpath}/Makefile
27                 }
28
29build            { }
30
31destroot         { 
32                    system "cd ${worksrcpath} && make install"
33                 }