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

Last change on this file since 88636 was 88636, checked in by ryandesign@…, 7 years ago

tsung: fix incompatible use of 'echo -n'

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