[130753] trunk/dports/perl/p5-catalyst-plugin-unicode-encoding/Portfile
devans at macports.org
devans at macports.org
Fri Jan 2 04:20:25 PST 2015
Revision: 130753
https://trac.macports.org/changeset/130753
Author: devans at macports.org
Date: 2015-01-02 04:20:25 -0800 (Fri, 02 Jan 2015)
Log Message:
-----------
p5-catalyst-plugin-unicode-encoding: handle replacement for obsolete branches 5.8 5.10 5.12 5.14, clear depends_lib set by perl5 portgroup.
Modified Paths:
--------------
trunk/dports/perl/p5-catalyst-plugin-unicode-encoding/Portfile
Modified: trunk/dports/perl/p5-catalyst-plugin-unicode-encoding/Portfile
===================================================================
--- trunk/dports/perl/p5-catalyst-plugin-unicode-encoding/Portfile 2015-01-02 12:06:59 UTC (rev 130752)
+++ trunk/dports/perl/p5-catalyst-plugin-unicode-encoding/Portfile 2015-01-02 12:20:25 UTC (rev 130753)
@@ -4,14 +4,20 @@
PortSystem 1.0
PortGroup perl5 1.0
-perl5.branches 5.16 5.18 5.20
+perl5.branches 5.8 5.10 5.12 5.14 5.16 5.18 5.20
perl5.setup Catalyst-Plugin-Unicode-Encoding 1.9
revision 1
license none
+depends_lib
+
if {${perl5.major} != ""} {
- replaced_by p${perl5.major}-catalyst-runtime
+ if {[vercmp ${perl5.major} 5.16] >= 0} {
+ replaced_by p${perl5.major}-catalyst-runtime
+ } else {
+ replaced_by p5.16-catalyst-runtime
+ }
} else {
replaced_by p5-catalyst-runtime
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150102/ca09e5e4/attachment.html>
More information about the macports-changes
mailing list