[142205] trunk/dports/multimedia/cws2fws-pl/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 04:46:28 PST 2015


Revision: 142205
          https://trac.macports.org/changeset/142205
Author:   mojca at macports.org
Date:     2015-11-06 08:00:48 -0800 (Fri, 06 Nov 2015)
Log Message:
-----------
cws2fws-pl: use perl5.22 (#48365)

Modified Paths:
--------------
    trunk/dports/multimedia/cws2fws-pl/Portfile

Modified: trunk/dports/multimedia/cws2fws-pl/Portfile
===================================================================
--- trunk/dports/multimedia/cws2fws-pl/Portfile	2015-11-06 15:54:01 UTC (rev 142204)
+++ trunk/dports/multimedia/cws2fws-pl/Portfile	2015-11-06 16:00:48 UTC (rev 142205)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                cws2fws-pl
 version             0.0.1
-revision            2
+revision            3
 categories          multimedia
 license             {Artistic-1 GPL}
 maintainers         nomaintainer
@@ -17,18 +18,20 @@
 master_sites        http://zefonseca.com/cws2fws/release/
 distfiles           cws2fws
 
-depends_run         port:p5.16-io-compress
-
 checksums           rmd160  733a7fa884771c4a5d66eaafc5d89c867048ca20 \
                     sha256  29ae3d39450f8cae307e1913a2290e0a268838a1c0ce31199ee23ca1886b645c
 
+perl5.branches      5.22
+
+depends_run         port:p${perl5.major}-io-compress
+
 extract {
     file mkdir ${worksrcpath}
     copy "${distpath}/cws2fws" "${worksrcpath}/cws2fws.pl"
 }
 
 patch {
-    reinplace "s|^#!/usr/bin/perl|#!${prefix}/bin/perl5.16|" "${worksrcpath}/cws2fws.pl"
+    reinplace "s|^#!/usr/bin/perl|#!${perl5.bin}|" "${worksrcpath}/cws2fws.pl"
 }
 
 use_configure       no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/7a908a44/attachment.html>


More information about the macports-changes mailing list