[130745] trunk/dports/perl/p5-file-slurp-unicode/Portfile

devans at macports.org devans at macports.org
Fri Jan 2 01:47:30 PST 2015


Revision: 130745
          https://trac.macports.org/changeset/130745
Author:   devans at macports.org
Date:     2015-01-02 01:47:30 -0800 (Fri, 02 Jan 2015)
Log Message:
-----------
p5-file-slurp-unicode: obsolete, replaced by p5-file-slurp, handle possible replacement of obsolete branches 5.8 5.10 5.12 5.14 (#46322).

Modified Paths:
--------------
    trunk/dports/perl/p5-file-slurp-unicode/Portfile

Modified: trunk/dports/perl/p5-file-slurp-unicode/Portfile
===================================================================
--- trunk/dports/perl/p5-file-slurp-unicode/Portfile	2015-01-02 09:34:30 UTC (rev 130744)
+++ trunk/dports/perl/p5-file-slurp-unicode/Portfile	2015-01-02 09:47:30 UTC (rev 130745)
@@ -4,25 +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         File-Slurp-Unicode 0.7.1
-revision            3
-platforms           darwin
-maintainers         nomaintainer
-supported_archs     noarch
+revision            4
 license             {Artistic-1 GPL}
 
-description         Reading/Writing of Complete Files with Character Encoding Support
-
-long_description \
-    This module wraps the standard File::Slurp package and adds character \
-    encoding support
-
-checksums           sha256 e39987335ecb31d360461a3fca24eb0c5296fb597d23cdb06758077b4560691b \
-                    rmd160 5d5b1783da53d3c3383b81ee08b429cce75aead3
-
 if {${perl5.major} != ""} {
-depends_lib-append  port:p${perl5.major}-file-slurp
-
-perl5.use_module_build
+    if {[vercmp ${perl5.major} 5.16] >= 0} {
+        replaced_by p${perl5.major}-file-slurp
+    } else {
+        replaced_by p5.16-file-slurp
+    }
+} else {
+    replaced_by p5-file-slurp
 }
+
+depends_lib
+PortGroup           obsolete 1.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150102/13d6d07a/attachment-0001.html>


More information about the macports-changes mailing list