Portfile

# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $

PortSystem 1.0
name autobench
version 2.1.2
categories www benchmarks
maintainers nomaintainer@macports.org
description automatic webserver benchmark tool
long_description \
Autobench is a simple Perl script for automating the process \
of benchmarking a web server (or for conducting a comparative \
test of two different web servers). The script is a wrapper \
around httperf. Autobench runs httperf a number of times \
against each host, increasing the number of requested \
connections per second on each iteration, and extracts the \
significant data from the httperf output, delivering a CSV or \
TSV format file which can be imported directly into a \
spreadsheet for analysis/graphing.
homepage http://www.xenoclast.org/autobench/
platforms darwin
master_sites ${homepage}downloads/
checksums md5 dbd00818840ed8d3c3d35734f0353cff

depends_run bin:httperf:httperf

patch {
reinplace "s|/man|/share/man|" ${worksrcpath}/Makefile
}
use_configure no
build.args PREFIX=${prefix}
destroot.destdir PREFIX=${destroot}${prefix}