[123277] trunk/dports/erlang/tsung/Portfile

mf2k at macports.org mf2k at macports.org
Thu Aug 7 13:25:59 PDT 2014


Revision: 123277
          https://trac.macports.org/changeset/123277
Author:   mf2k at macports.org
Date:     2014-08-07 13:25:59 -0700 (Thu, 07 Aug 2014)
Log Message:
-----------
tsung: Switch to perl 5.16. (#44405)

Modified Paths:
--------------
    trunk/dports/erlang/tsung/Portfile

Modified: trunk/dports/erlang/tsung/Portfile
===================================================================
--- trunk/dports/erlang/tsung/Portfile	2014-08-07 20:24:35 UTC (rev 123276)
+++ trunk/dports/erlang/tsung/Portfile	2014-08-07 20:25:59 UTC (rev 123277)
@@ -5,6 +5,8 @@
 
 name                tsung
 version             1.4.2
+revision            1
+set perl_version    5.16
 categories          erlang devel
 platforms           darwin
 maintainers         nomaintainer
@@ -27,7 +29,7 @@
 depends_lib         port:erlang \
                     port:mochiweb \
                     port:gnuplot \
-                    port:p5.12-template-toolkit \
+                    port:p${perl_version}-template-toolkit \
                     port:rrdtool
 
 patchfiles          patch-Makefile.in.diff
@@ -35,10 +37,10 @@
 build.target        all doc
 
 post-patch {
-    reinplace -locale C "s|/usr/bin/perl|${prefix}/bin/perl5.12|" \
+    reinplace -locale C "s|/usr/bin/perl|${prefix}/bin/perl${perl_version}|" \
         ${worksrcpath}/src/tsung-rrd.pl.in \
         ${worksrcpath}/src/tsung_stats.pl.in
-    reinplace "s|/usr/bin/env perl|${prefix}/bin/perl5.12|" \
+    reinplace "s|/usr/bin/env perl|${prefix}/bin/perl${perl_version}|" \
         ${worksrcpath}/src/log2tsung.pl.in
     reinplace "s| /usr/bin/python|${prefix}/bin/python2.7|" \
         ${worksrcpath}/src/tsung-plotter/tsung/tsung.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140807/6063e2af/attachment.html>


More information about the macports-changes mailing list