[144220] trunk/dports/devel/myrepos/Portfile

mojca at macports.org mojca at macports.org
Mon Jan 4 16:02:53 PST 2016


Revision: 144220
          https://trac.macports.org/changeset/144220
Author:   mojca at macports.org
Date:     2016-01-04 16:02:53 -0800 (Mon, 04 Jan 2016)
Log Message:
-----------
myrepos: switch to perl5.22 (#48365)

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

Modified: trunk/dports/devel/myrepos/Portfile
===================================================================
--- trunk/dports/devel/myrepos/Portfile	2016-01-04 23:53:50 UTC (rev 144219)
+++ trunk/dports/devel/myrepos/Portfile	2016-01-05 00:02:53 UTC (rev 144220)
@@ -3,9 +3,10 @@
 
 PortSystem          1.0
 PortGroup           github 1.0
+PortGroup           perl5 1.0
 
 github.setup        joeyh myrepos 1.20150503
-revision            1
+revision            2
 
 categories          devel
 platforms           darwin
@@ -29,15 +30,15 @@
 use_configure       no
 build.target        build
 
-set perl_version    5.16
-depends_lib         port:perl${perl_version}
+perl5.branches      5.22
+depends_lib         port:perl${perl5.major}
 
-depends_run         port:p${perl_version}-html-parser \
-                    port:p${perl_version}-libwww-perl \
-                    port:p${perl_version}-getopt-long
+depends_run         port:p${perl5.major}-html-parser \
+                    port:p${perl5.major}-libwww-perl \
+                    port:p${perl5.major}-getopt-long
 
 post-patch {
-    reinplace -locale C "s|^#!.*perl|#!${prefix}/bin/perl${perl_version}|" ${worksrcpath}/mr ${worksrcpath}/webcheckout
+    reinplace -locale C "s|^#!.*perl|#!${perl5.bin}|" ${worksrcpath}/mr ${worksrcpath}/webcheckout
 }
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160104/7355af1f/attachment.html>


More information about the macports-changes mailing list