[138742] trunk/dports/audio/flac2mp3/Portfile

devans at macports.org devans at macports.org
Fri Jul 17 16:32:37 PDT 2015


Revision: 138742
          https://trac.macports.org/changeset/138742
Author:   devans at macports.org
Date:     2015-07-17 16:32:37 -0700 (Fri, 17 Jul 2015)
Log Message:
-----------
flac2mp3: configure to use perl 5.22, increment revision (#48365).

Modified Paths:
--------------
    trunk/dports/audio/flac2mp3/Portfile

Modified: trunk/dports/audio/flac2mp3/Portfile
===================================================================
--- trunk/dports/audio/flac2mp3/Portfile	2015-07-17 23:01:06 UTC (rev 138741)
+++ trunk/dports/audio/flac2mp3/Portfile	2015-07-17 23:32:37 UTC (rev 138742)
@@ -6,7 +6,7 @@
 name                flac2mp3
 
 version             20041223
-revision            2
+revision            3
 
 categories          audio
 platforms           darwin
@@ -26,9 +26,14 @@
 
 distname            ${name}
 
+# set pbranch to desired perl version
+# currently 5.22 (#48365)
+
+set pbranch         5.22
+
 depends_run         port:flac \
                     port:lame \
-                    port:p5.16-mp3-info
+                    port:p${pbranch}-mp3-info
 
 extract.suffix      .pl
 extract.only
@@ -39,6 +44,6 @@
 
 destroot {
     xinstall ${distpath}/${name}${extract.suffix} ${destroot}${prefix}/bin
-    reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl5.16|g" \
+    reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl${pbranch}|g" \
         "${destroot}${prefix}/bin/${name}${extract.suffix}"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150717/821e32bb/attachment.html>


More information about the macports-changes mailing list