Ticket #17097: Portfile.diff
File Portfile.diff, 1.3 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 36980 2008-05-21 22:43:10Z aschenke@macports.org $ 2 2 3 3 PortSystem 1.0 4 4 5 name latexdiff 5 6 version 0.5 6 7 categories tex 7 maintainers aschenke@macports.org 8 maintainers aschenke 9 platforms darwin 8 10 description determine and mark up significant differences between latex files 9 11 long_description latexdiff is a Perl script, which compares two latex files \ 10 12 and marks up significant differences between them (i.e. a \ … … 22 24 distname ${name} 23 25 use_zip yes 24 26 25 depends_run bin:perl:perl5.827 depends_run path:bin/perl:perl5 26 28 27 29 configure { 28 reinplace "s|/usr/bin/perl -w| /usr/bin/env perl|g" \30 reinplace "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" \ 29 31 ${worksrcpath}/latexdiff-so ${worksrcpath}/latexdiff-vc \ 30 32 ${worksrcpath}/latexrevise 31 33 } … … 34 36 35 37 destroot.destdir INSTALLPATH=${destroot}${prefix} \ 36 38 INSTALLMANPATH=${destroot}${prefix}/share/man 39 40 post-destroot { 41 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 42 xinstall -m 644 ${worksrcpath}/latexdiff-man.pdf ${destroot}${prefix}/share/doc/${name} 43 }