[41580] trunk/dports/tex/latexdiff/Portfile
aschenke at macports.org
aschenke at macports.org
Thu Nov 6 03:45:23 PST 2008
Revision: 41580
http://trac.macports.org/changeset/41580
Author: aschenke at macports.org
Date: 2008-11-06 03:45:22 -0800 (Thu, 06 Nov 2008)
Log Message:
-----------
added requested enhancements (ticket #17097)
Modified Paths:
--------------
trunk/dports/tex/latexdiff/Portfile
Modified: trunk/dports/tex/latexdiff/Portfile
===================================================================
--- trunk/dports/tex/latexdiff/Portfile 2008-11-06 11:30:49 UTC (rev 41579)
+++ trunk/dports/tex/latexdiff/Portfile 2008-11-06 11:45:22 UTC (rev 41580)
@@ -1,10 +1,12 @@
# $Id$
PortSystem 1.0
+
name latexdiff
version 0.5
categories tex
-maintainers aschenke at macports.org
+maintainers aschenke
+platforms darwin
description determine and mark up significant differences between latex files
long_description latexdiff is a Perl script, which compares two latex files \
and marks up significant differences between them (i.e. a \
@@ -22,10 +24,10 @@
distname ${name}
use_zip yes
-depends_run bin:perl:perl5.8
+depends_run path:bin/perl:perl5
configure {
- reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" \
+ reinplace "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" \
${worksrcpath}/latexdiff-so ${worksrcpath}/latexdiff-vc \
${worksrcpath}/latexrevise
}
@@ -34,3 +36,15 @@
destroot.destdir INSTALLPATH=${destroot}${prefix} \
INSTALLMANPATH=${destroot}${prefix}/share/man
+
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/latexdiff-man.pdf ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/CHANGES ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
+
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/example
+ xinstall -m 644 ${worksrcpath}/example/example-draft.tex ${destroot}${prefix}/share/doc/${name}/example
+ xinstall -m 644 ${worksrcpath}/example/example-rev.tex ${destroot}${prefix}/share/doc/${name}/example
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081106/97dbc071/attachment.html>
More information about the macports-changes
mailing list