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

Last change on this file since 82666 was 82666, checked in by jmr@…, 9 years ago

tsung: use macports perl and python, and add rrdtool dep (#26255)

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