Modified: trunk/dports/devel/pearl/Portfile (144316 => 144317)
--- 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 {}