[144209] trunk/dports/net/snownews/Portfile
mojca at macports.org
mojca at macports.org
Mon Jan 4 13:25:09 PST 2016
Revision: 144209
https://trac.macports.org/changeset/144209
Author: mojca at macports.org
Date: 2016-01-04 13:25:08 -0800 (Mon, 04 Jan 2016)
Log Message:
-----------
snownews: switch to perl5.22 (#48365)
Modified Paths:
--------------
trunk/dports/net/snownews/Portfile
Modified: trunk/dports/net/snownews/Portfile
===================================================================
--- trunk/dports/net/snownews/Portfile 2016-01-04 21:24:55 UTC (rev 144208)
+++ trunk/dports/net/snownews/Portfile 2016-01-04 21:25:08 UTC (rev 144209)
@@ -2,11 +2,12 @@
# $Id$
PortSystem 1.0
+PortGroup perl5 1.0
name snownews
version 1.5.12
-revision 3
-set perl_version 5.16
+revision 4
+perl5.branches 5.22
platforms darwin
categories net www
license GPL-2
@@ -28,12 +29,12 @@
port:libxml2 \
port:ncurses \
path:lib/libssl.dylib:openssl \
- port:p${perl_version}-xml-libxml \
+ port:p${perl5.major}-xml-libxml \
port:zlib
post-patch {
# We want to use perl from MacPorts.
- reinplace s|/usr/bin/perl|${prefix}/bin/perl${perl_version}| ${worksrcpath}/opml2snow
+ reinplace s|/usr/bin/perl|${perl5.bin}| ${worksrcpath}/opml2snow
}
build.args EXTRA_CFLAGS="-I${prefix}/include" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160104/c27a6495/attachment.html>
More information about the macports-changes
mailing list