source: trunk/dports/erlang/tsung/Portfile

Last change on this file was 151842, checked in by mojca@…, 13 months ago

tsung: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151842 2016-08-23 12:11:47Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                tsung
8version             1.6.0
9revision            1
10perl5.branches      5.24
11categories          erlang devel
12platforms           darwin
13maintainers         nomaintainer
14license             GPL-2+
15supported_archs     noarch
16
17description         Load test tool for HTTP, PostgreSQL, Jabber and others.
18
19long_description    Tsung (formerly IDX-Tsunami) is a distributed load \
20                    testing tool. It is protocol-independent and can \
21                    currently be used to stress HTTP, SOAP, PostgreSQL, \
22                    and Jabber servers.
23
24homepage            http://tsung.erlang-projects.org/
25master_sites        ${homepage}dist/
26
27checksums           rmd160  ef52e28ebff58157ed495147b2a8c80366dd5f5d \
28                    sha256  56846c3a90fd7037d9a76330cb8f3052238344491e2fe6ef1ebdb0b620eb3d84
29
30depends_lib         port:erlang \
31                    port:mochiweb \
32                    port:gnuplot \
33                    port:p${perl5.major}-template-toolkit \
34                    port:rrdtool
35
36build.target        all doc
37
38post-patch {
39    reinplace -locale C "s|/usr/bin/perl|${perl5.bin}|" \
40        ${worksrcpath}/src/tsung-rrd.pl.in \
41        ${worksrcpath}/src/tsung_stats.pl.in
42    reinplace "s|/usr/bin/env perl|${perl5.bin}|" \
43        ${worksrcpath}/src/log2tsung.pl.in
44    reinplace "s| /usr/bin/python|${prefix}/bin/python2.7|" \
45        ${worksrcpath}/src/tsung-plotter/tsung/tsung.py
46}
Note: See TracBrowser for help on using the repository browser.