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

jmr at macports.org jmr at macports.org
Wed Aug 17 12:20:01 PDT 2011


Revision: 82666
          http://trac.macports.org/changeset/82666
Author:   jmr at macports.org
Date:     2011-08-17 12:19:59 -0700 (Wed, 17 Aug 2011)
Log Message:
-----------
tsung: use macports perl and python, and add rrdtool dep (#26255)

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

Modified: trunk/dports/erlang/tsung/Portfile
===================================================================
--- trunk/dports/erlang/tsung/Portfile	2011-08-17 18:49:01 UTC (rev 82665)
+++ trunk/dports/erlang/tsung/Portfile	2011-08-17 19:19:59 UTC (rev 82666)
@@ -5,7 +5,7 @@
 
 name             tsung
 version          1.3.3
-revision         1
+revision         2
 categories       erlang devel
 maintainers      nomaintainer
 supported_archs  noarch
@@ -25,6 +25,17 @@
 depends_lib      port:erlang \
 	port:mochiweb \
 	port:gnuplot \
-	port:p5.12-template-toolkit
+	port:p5.12-template-toolkit \
+	port:rrdtool
 
 build.target     all doc
+
+post-patch {
+    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.12|" \
+        ${worksrcpath}/src/tsung-rrd.pl.in \
+        ${worksrcpath}/src/tsung_stats.pl.in
+    reinplace "s|/usr/bin/env perl|${prefix}/bin/perl5.12|" \
+        ${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: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110817/e4801a95/attachment-0001.html>


More information about the macports-changes mailing list