[143466] trunk/dports/multimedia/tablet-encode/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 13:08:44 PST 2015


Revision: 143466
          https://trac.macports.org/changeset/143466
Author:   mojca at macports.org
Date:     2015-12-12 13:08:44 -0800 (Sat, 12 Dec 2015)
Log Message:
-----------
tablet-encode: switch to perl5.22 (#48365)

Modified Paths:
--------------
    trunk/dports/multimedia/tablet-encode/Portfile

Modified: trunk/dports/multimedia/tablet-encode/Portfile
===================================================================
--- trunk/dports/multimedia/tablet-encode/Portfile	2015-12-12 21:05:20 UTC (rev 143465)
+++ trunk/dports/multimedia/tablet-encode/Portfile	2015-12-12 21:08:44 UTC (rev 143466)
@@ -2,11 +2,12 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                tablet-encode
 license             Artistic-1
 version             2.30
-revision            1
+revision            2
 categories          multimedia
 maintainers         nomaintainer
 platforms           darwin
@@ -21,15 +22,17 @@
 checksums           rmd160  71aa43d56df5c70484dda3dd882033e8639ae8e0 \
                     sha256  ce1f413c111429db14f41ca611297896357065d0934b7dce9e341a77e178f557
 
-depends_run         port:perl5.16 \
+perl5.branches      5.22
+
+depends_run         port:perl${perl5.major} \
                     path:bin/mplayer:mplayer-devel
 
 variant gui description {GTK2 Graphical User Interface} {
-    depends_run-append  port:p5.16-gtk2
+    depends_run-append  port:p${perl5.major}-gtk2
 }
 
 post-patch {
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" \
+    reinplace "s|/usr/bin/perl|${perl5.bin}|g" \
         ${worksrcpath}/tablet-encode
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/54e45016/attachment.html>


More information about the macports-changes mailing list