# $Id$

PortSystem 1.0

name			flood
version			20041105
categories		www
license			Apache-2
platforms		darwin freebsd
maintainers		nomaintainer
description		profile-driven HTTP load tester
long_description	Flood is a profile-driven HTTP load tester. It can be used \
					to gather important performance metrics for your website.

homepage		http://httpd.apache.org/test/flood/
master_sites	ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
checksums	md5 fe07ea26fc18828d272cd384b74228f8
distname	httpd-test_20041105052051
worksrcdir	httpd-test/flood

depends_lib		port:apr \
			port:apr-util \
			port:expat

use_autoconf	yes

configure.args	--with-apr=${prefix}/bin/apr-1-config \
		--with-apr-util=${prefix}/bin/apu-1-config

destroot	{
	xinstall -m 755 -s ${worksrcpath}/flood ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
	xinstall -m 644 -W ${worksrcpath} CHANGES DESIGN STATUS \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/examples analyze-relative \
		analyze-relative-ramp flood.dtd relative-averages-time.awk \
		round-robin-dynamic.xml round-robin-example.xml \
		round-robin-keepalive.xml round-robin-relative-reports.xml \
		round-robin-ssl.xml round-robin-timed.xml round-robin.xml \
		${destroot}${prefix}/share/doc/${name}/examples
}