Modified: trunk/dports/net/snownews/Portfile (144208 => 144209)
--- 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" \