source: trunk/dports/erlang/tsung/Portfile @ 123277

Last change on this file since 123277 was 123277, checked in by mf2k@…, 5 years ago

tsung: Switch to perl 5.16. (#44405)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 123277 2014-08-07 20:25:59Z mf2k@macports.org $
3
4PortSystem          1.0
5
6name                tsung
7version             1.4.2
8revision            1
9set perl_version    5.16
10categories          erlang devel
11platforms           darwin
12maintainers         nomaintainer
13license             GPL-2+
14supported_archs     noarch
15
16description         Load test tool for HTTP, PostgreSQL, Jabber and others.
17
18long_description    Tsung (formerly IDX-Tsunami) is a distributed load \
19                    testing tool. It is protocol-independent and can \
20                    currently be used to stress HTTP, SOAP, PostgreSQL, \
21                    and Jabber servers.
22
23homepage            http://tsung.erlang-projects.org/
24master_sites        ${homepage}dist/
25
26checksums           rmd160  6256621446213256e1865ca07e4136b08fde0ad7 \
27                    sha256  66608f551a8381dd853ead64c0e44255e64f25db05d3458a2e9c557d72a34d6e
28
29depends_lib         port:erlang \
30                    port:mochiweb \
31                    port:gnuplot \
32                    port:p${perl_version}-template-toolkit \
33                    port:rrdtool
34
35patchfiles          patch-Makefile.in.diff
36
37build.target        all doc
38
39post-patch {
40    reinplace -locale C "s|/usr/bin/perl|${prefix}/bin/perl${perl_version}|" \
41        ${worksrcpath}/src/tsung-rrd.pl.in \
42        ${worksrcpath}/src/tsung_stats.pl.in
43    reinplace "s|/usr/bin/env perl|${prefix}/bin/perl${perl_version}|" \
44        ${worksrcpath}/src/log2tsung.pl.in
45    reinplace "s| /usr/bin/python|${prefix}/bin/python2.7|" \
46        ${worksrcpath}/src/tsung-plotter/tsung/tsung.py
47}
Note: See TracBrowser for help on using the repository browser.