[144317] trunk/dports/devel/pearl/Portfile

mojca at macports.org mojca at macports.org
Wed Jan 6 07:29:05 PST 2016


Revision: 144317
          https://trac.macports.org/changeset/144317
Author:   mojca at macports.org
Date:     2016-01-06 07:29:05 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
pearl: switch to perl5.22 (#48365)

Modified Paths:
--------------
    trunk/dports/devel/pearl/Portfile

Modified: trunk/dports/devel/pearl/Portfile
===================================================================
--- trunk/dports/devel/pearl/Portfile	2016-01-06 15:27:11 UTC (rev 144316)
+++ trunk/dports/devel/pearl/Portfile	2016-01-06 15:29:05 UTC (rev 144317)
@@ -3,9 +3,11 @@
 
 PortSystem          1.0
 PortGroup           github 1.0
+PortGroup           perl5 1.0
 
 github.setup        rodnaph pearl 0.2.0 v
-revision            1
+revision            2
+perl5.branches      5.22
 categories          devel macports
 platforms           darwin
 maintainers         pu-gh.com:rod
@@ -16,10 +18,10 @@
     Macports Portfile for your project. It just automates the diffing of your \
     current Portfile with the release version from the Macports SVN repository.
 
-depends_lib         port:p5.16-ipc-run \
-                    port:p5.16-getopt-long-descriptive \
-                    port:p5.16-yaml \
-                    port:p5.16-lwp-useragent-determined
+depends_lib         port:p${perl5.major}-ipc-run \
+                    port:p${perl5.major}-getopt-long-descriptive \
+                    port:p${perl5.major}-yaml \
+                    port:p${perl5.major}-lwp-useragent-determined
 
 checksums           rmd160  8fdfc7cf23bf0b8788a919f26b8ffd2dd7e8c17b \
                     sha256  3f12562e2b37bebf0e5ead2d2d3fdeb4faa3a34055fd3dd08cb7f0114bac0582
@@ -28,7 +30,7 @@
 supported_archs     noarch
 
 post-patch {
-    reinplace       "s&#!/usr/bin/env perl&#!${prefix}/bin/perl5.16&" ${worksrcpath}/pearl
+    reinplace       "s&#!/usr/bin/env perl&#!${perl5.bin}&" ${worksrcpath}/pearl
 }
 
 build               {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/aac2eb6f/attachment.html>


More information about the macports-changes mailing list