[143377] trunk/dports/net/mediaserv/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 09:43:44 PST 2015


Revision: 143377
          https://trac.macports.org/changeset/143377
Author:   mojca at macports.org
Date:     2015-12-11 12:47:09 -0800 (Fri, 11 Dec 2015)
Log Message:
-----------
mediaserv: switch to perl5.22 (#48365, untested)

Modified Paths:
--------------
    trunk/dports/net/mediaserv/Portfile

Modified: trunk/dports/net/mediaserv/Portfile
===================================================================
--- trunk/dports/net/mediaserv/Portfile	2015-12-11 19:59:29 UTC (rev 143376)
+++ trunk/dports/net/mediaserv/Portfile	2015-12-11 20:47:09 UTC (rev 143377)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                mediaserv
 version             0.05
-revision            3
+revision            4
 categories          net
 license             Artistic-1
 maintainers         nomaintainer
@@ -31,10 +32,12 @@
 
 worksrcdir          ${name}
 
-depends_run         port:perl5.16 \
-                    port:p5.16-libwww-perl \
-                    port:p5.16-xml-rss \
-                    port:p5.16-datetime \
+perl5.branches      5.22
+
+depends_run         port:perl${perl5.major} \
+                    port:p${perl5.major}-libwww-perl \
+                    port:p${perl5.major}-xml-rss \
+                    port:p${perl5.major}-datetime \
                     port:tablet-encode \
                     path:bin/mplayer:mplayer-devel
 
@@ -42,7 +45,7 @@
                     patch-mediaserv.diff
 
 post-patch {
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" \
+    reinplace "s|/usr/bin/perl|${perl5.bin}|g" \
         ${worksrcpath}/mediaserv
     reinplace "s|@@STATIC_DIR@@|${prefix}/share/${name}|g" \
         ${worksrcpath}/install.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/0b0ad83c/attachment.html>


More information about the macports-changes mailing list