[144316] trunk/dports/devel/ghsum/Portfile

mojca at macports.org mojca at macports.org
Wed Jan 6 07:27:11 PST 2016


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

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

Modified: trunk/dports/devel/ghsum/Portfile
===================================================================
--- trunk/dports/devel/ghsum/Portfile	2016-01-06 15:25:53 UTC (rev 144315)
+++ trunk/dports/devel/ghsum/Portfile	2016-01-06 15:27:11 UTC (rev 144316)
@@ -3,9 +3,11 @@
 
 PortSystem          1.0
 PortGroup           github 1.0
+PortGroup           perl5 1.0
 
 github.setup        rodnaph ghsum 0.1.0 v
-revision            1
+revision            2
+perl5.branches      5.22
 categories          devel shells macports
 platforms           darwin
 maintainers         pu-gh.com:rod
@@ -20,7 +22,7 @@
 
 depends_lib         port:wget \
                     path:lib/libssl.dylib:openssl \
-                    port:p5.16-getopt-long-descriptive
+                    port:p${perl5.major}-getopt-long-descriptive
 
 checksums           rmd160 8135a086a7ba075d5ce3596caaa46cd21705bb64 \
                     sha256 863ce994a8a9a276f3ea8a6a395b33015540cccf08c8e419223aa8253ed42eb2
@@ -28,7 +30,7 @@
 use_configure       no
 
 post-patch {
-    reinplace       "s&#!/usr/bin/env perl&#!${prefix}/bin/perl5.16&" ${worksrcpath}/ghsum
+    reinplace       "s&#!/usr/bin/env perl&#!${perl5.bin}&" ${worksrcpath}/ghsum
 }
 
 build               {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/5f61b3ef/attachment-0001.html>


More information about the macports-changes mailing list