[130755] trunk/dports/perl/p5-email-mime-modifier/Portfile
devans at macports.org
devans at macports.org
Fri Jan 2 04:26:11 PST 2015
Revision: 130755
https://trac.macports.org/changeset/130755
Author: devans at macports.org
Date: 2015-01-02 04:26:11 -0800 (Fri, 02 Jan 2015)
Log Message:
-----------
p5-email-mime-modifier: handle/correct 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-email-mime-modifier/Portfile
Modified: trunk/dports/perl/p5-email-mime-modifier/Portfile
===================================================================
--- trunk/dports/perl/p5-email-mime-modifier/Portfile 2015-01-02 12:24:20 UTC (rev 130754)
+++ trunk/dports/perl/p5-email-mime-modifier/Portfile 2015-01-02 12:26:11 UTC (rev 130755)
@@ -4,13 +4,19 @@
PortSystem 1.0
PortGroup perl5 1.0
-perl5.branches 5.10 5.12 5.14 5.16
+perl5.branches 5.8 5.10 5.12 5.14 5.16
perl5.setup Email-MIME-Modifier 1.442
revision 4
license none
+depends_lib
+
if {${perl5.major} != ""} {
- replaced_by p${perl5.major}-email-mime
+ if {[vercmp ${perl5.major} 5.16] >= 0} {
+ replaced_by p${perl5.major}-email-mime
+ } else {
+ replaced_by p5.16-email-mime
+ }
} else {
replaced_by p5-email-mime
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150102/4e52f37d/attachment.html>
More information about the macports-changes
mailing list