[66675] trunk/dports/lang/perl5/Portfile
ricci at macports.org
ricci at macports.org
Mon Apr 19 11:32:26 PDT 2010
Revision: 66675
http://trac.macports.org/changeset/66675
Author: ricci at macports.org
Date: 2010-04-19 11:32:25 -0700 (Mon, 19 Apr 2010)
Log Message:
-----------
add perl5_12 variant as requested in #24551
Modified Paths:
--------------
trunk/dports/lang/perl5/Portfile
Modified: trunk/dports/lang/perl5/Portfile
===================================================================
--- trunk/dports/lang/perl5/Portfile 2010-04-19 18:27:08 UTC (rev 66674)
+++ trunk/dports/lang/perl5/Portfile 2010-04-19 18:32:25 UTC (rev 66675)
@@ -24,13 +24,20 @@
build {}
destroot {}
-variant perl5_10 description { use perl 5.10 instead of perl 5.8 } {
+variant perl5_10 description { use perl 5.10 instead of perl 5.8 or perl 5.12} {
depends_lib-delete port:perl5.8
depends_lib-append port:perl5.10
version 5.10
}
+variant perl5_12 description { use perl 5.12 instead of perl 5.8 or perl 5.10 } {
+ depends_lib-delete port:perl5.8
+ depends_lib-append port:perl5.12
+
+ version 5.12
+}
+
post-destroot {
## XYZZY: add check that the files on both sides of the link do and do not exist:
ln -s perl${version} ${destroot}${prefix}/bin/$name
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100419/7f9a891b/attachment.html>
More information about the macports-changes
mailing list