[131074] trunk/dports/perl/p5-graveyard/Portfile
larryv at macports.org
larryv at macports.org
Mon Jan 5 12:34:35 PST 2015
Revision: 131074
https://trac.macports.org/changeset/131074
Author: larryv at macports.org
Date: 2015-01-05 12:34:34 -0800 (Mon, 05 Jan 2015)
Log Message:
-----------
Perl graveyard: Factor out list of default branches
Modified Paths:
--------------
trunk/dports/perl/p5-graveyard/Portfile
Modified: trunk/dports/perl/p5-graveyard/Portfile
===================================================================
--- trunk/dports/perl/p5-graveyard/Portfile 2015-01-05 20:34:32 UTC (rev 131073)
+++ trunk/dports/perl/p5-graveyard/Portfile 2015-01-05 20:34:34 UTC (rev 131074)
@@ -13,11 +13,12 @@
5.12 5.16
5.14 5.16
}
+set defaultBranches {5.8 5.10 5.12 5.14}
proc unknown args {
- upvar 1 replacements replacements
+ upvar 1 replacements replacements defaultBranches defaultBranches
if {[llength $args] < 3} {
- lappend args 5.8 5.10 5.12 5.14
+ lappend args {*}$defaultBranches
}
set replaced_branches [lassign $args superport version_string]
lassign [split $version_string _] ver rev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150105/70909eeb/attachment.html>
More information about the macports-changes
mailing list