# $Id: Portfile,v 1.5 2005/01/22 00:06:15 toby Exp $

PortSystem       1.0
name             autobench
version          2.1.2
categories       www benchmarks
maintainers      toby@opendarwin.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
}
configure        {}
build.args       PREFIX=${prefix}
destroot.destdir PREFIX=${destroot}${prefix}
