[144328] trunk/dports/erlang/tsung

mojca at macports.org mojca at macports.org
Wed Jan 6 10:46:55 PST 2016


Revision: 144328
          https://trac.macports.org/changeset/144328
Author:   mojca at macports.org
Date:     2016-01-06 10:46:55 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
tsung: upgrade to 1.6.0, switch to perl5.22 (#48365)

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

Removed Paths:
-------------
    trunk/dports/erlang/tsung/files/

Modified: trunk/dports/erlang/tsung/Portfile
===================================================================
--- trunk/dports/erlang/tsung/Portfile	2016-01-06 18:39:00 UTC (rev 144327)
+++ trunk/dports/erlang/tsung/Portfile	2016-01-06 18:46:55 UTC (rev 144328)
@@ -2,11 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                tsung
-version             1.4.2
-revision            1
-set perl_version    5.16
+version             1.6.0
+perl5.branches      5.22
 categories          erlang devel
 platforms           darwin
 maintainers         nomaintainer
@@ -23,24 +23,22 @@
 homepage            http://tsung.erlang-projects.org/
 master_sites        ${homepage}dist/
 
-checksums           rmd160  6256621446213256e1865ca07e4136b08fde0ad7 \
-                    sha256  66608f551a8381dd853ead64c0e44255e64f25db05d3458a2e9c557d72a34d6e
+checksums           rmd160  ef52e28ebff58157ed495147b2a8c80366dd5f5d \
+                    sha256  56846c3a90fd7037d9a76330cb8f3052238344491e2fe6ef1ebdb0b620eb3d84
 
 depends_lib         port:erlang \
                     port:mochiweb \
                     port:gnuplot \
-                    port:p${perl_version}-template-toolkit \
+                    port:p${perl5.major}-template-toolkit \
                     port:rrdtool
 
-patchfiles          patch-Makefile.in.diff
-
 build.target        all doc
 
 post-patch {
-    reinplace -locale C "s|/usr/bin/perl|${prefix}/bin/perl${perl_version}|" \
+    reinplace -locale C "s|/usr/bin/perl|${perl5.bin}|" \
         ${worksrcpath}/src/tsung-rrd.pl.in \
         ${worksrcpath}/src/tsung_stats.pl.in
-    reinplace "s|/usr/bin/env perl|${prefix}/bin/perl${perl_version}|" \
+    reinplace "s|/usr/bin/env perl|${perl5.bin}|" \
         ${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/20160106/540aea6a/attachment.html>


More information about the macports-changes mailing list