Revision
144319
Author
mojca@macports.org
Date
2016-01-06 07:40:29 -0800 (Wed, 06 Jan 2016)

Log Message

thieriot: switch to perl5.22 (#48365)

Modified Paths

Diff

Modified: trunk/dports/devel/thieriot/Portfile (144318 => 144319)


--- trunk/dports/devel/thieriot/Portfile	2016-01-06 15:34:34 UTC (rev 144318)
+++ trunk/dports/devel/thieriot/Portfile	2016-01-06 15:40:29 UTC (rev 144319)
@@ -3,8 +3,11 @@
 
 PortSystem          1.0
 PortGroup           github 1.0
+PortGroup           perl5 1.0
 
 github.setup        rodnaph thieriot 1.1.1 v
+revision            1
+perl5.branches      5.22
 categories          devel shells
 platforms           darwin
 maintainers         pu-gh.com:rod
@@ -15,9 +18,9 @@
                     of your branches currently have builds.  And then to \
                     easily create/start/delete builds with a single command.
 
-depends_lib         port:p5.16-yaml \
-                    port:p5.16-json \
-                    port:p5.16-libwww-perl
+depends_lib         port:p${perl5.major}-yaml \
+                    port:p${perl5.major}-json \
+                    port:p${perl5.major}-libwww-perl
 
 checksums           rmd160  6447c8b916fd3b8891e50dea8a7a236a6017a538 \
                     sha256  7dc3fc909ddeb6eb71e21b082a2b8b270fcaa94b80dd35cda9286e81d5a63062
@@ -26,7 +29,7 @@
 supported_archs     noarch
 
 post-patch {
-    reinplace       "s&#!/usr/bin/env perl&#!${prefix}/bin/perl5.16&" ${worksrcpath}/trt
+    reinplace       "s&#!/usr/bin/env perl&#!${perl5.bin}&" ${worksrcpath}/trt
 }
 
 build               {}