[142203] trunk/dports/tex/latexdiff/Portfile
mojca at macports.org
mojca at macports.org
Sat Dec 12 04:45:58 PST 2015
Revision: 142203
https://trac.macports.org/changeset/142203
Author: mojca at macports.org
Date: 2015-11-06 07:51:42 -0800 (Fri, 06 Nov 2015)
Log Message:
-----------
latexdiff: use the perl PortGroup
Modified Paths:
--------------
trunk/dports/tex/latexdiff/Portfile
Modified: trunk/dports/tex/latexdiff/Portfile
===================================================================
--- trunk/dports/tex/latexdiff/Portfile 2015-11-06 14:59:57 UTC (rev 142202)
+++ trunk/dports/tex/latexdiff/Portfile 2015-11-06 15:51:42 UTC (rev 142203)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup perl5 1.0
name latexdiff
version 1.1.0
@@ -28,13 +29,13 @@
checksums rmd160 ee4c002be4865a01161bf45b2e2a5fd830e2b143 \
sha256 9f0cc207d71a2225926cf9b8b87dbc4283c68de12db8a7708e780941516f13f6
-set perl_version 5.22
+perl5.branches 5.22
-depends_run port:perl${perl_version} \
- port:p${perl_version}-algorithm-diff
+depends_run port:perl${perl5.major} \
+ port:p${perl5.major}-algorithm-diff
post-patch {
- reinplace -W ${worksrcpath} "s|/usr/bin/env perl|${prefix}/bin/perl${perl_version}|g" \
+ reinplace -W ${worksrcpath} "s|/usr/bin/env perl|${perl5.bin}|g" \
latexdiff latexdiff-fast latexdiff-so latexdiff-vc latexrevise
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/eb3b3606/attachment.html>
More information about the macports-changes
mailing list