[142204] trunk/dports/textproc/libxmlxx2/Portfile
mojca at macports.org
mojca at macports.org
Sat Dec 12 04:46:13 PST 2015
Revision: 142204
https://trac.macports.org/changeset/142204
Author: mojca at macports.org
Date: 2015-11-06 07:54:01 -0800 (Fri, 06 Nov 2015)
Log Message:
-----------
libxmlxx2: use the perl PortGroup
Modified Paths:
--------------
trunk/dports/textproc/libxmlxx2/Portfile
Modified: trunk/dports/textproc/libxmlxx2/Portfile
===================================================================
--- trunk/dports/textproc/libxmlxx2/Portfile 2015-11-06 15:51:42 UTC (rev 142203)
+++ trunk/dports/textproc/libxmlxx2/Portfile 2015-11-06 15:54:01 UTC (rev 142204)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup perl5 1.0
name libxmlxx2
set gname libxml++
@@ -25,18 +26,15 @@
checksums rmd160 152350d95c2924a3f5f15111db439fd769ce8bad \
sha256 882529189b03db6c69925b3f579ab1941feb4f02b5fe2612504ee7e498a4a05f
-# set pbranch to desired perl version
-# currently 5.22 (#48365)
+perl5.branches 5.22
-set pbranch 5.22
-
depends_build port:pkgconfig \
- port:perl${pbranch}
+ port:perl${perl5.major}
depends_lib port:libxml2 \
port:glibmm
-configure.perl ${prefix}/bin/perl${pbranch}
+configure.perl ${perl5.bin}
livecheck.type gnome
livecheck.name ${gname}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/216935a1/attachment.html>
More information about the macports-changes
mailing list