# $Id: Portfile 30239 2007-10-23 01:55:09Z jmpp@macports.org $

PortSystem 1.0

name			gibberish
version			0.2
categories		net
platforms		darwin
maintainers		nomaintainer
description		sends gibberish to a given host, port
long_description	With this tool you can test if your tcp-server can handle \
					gibberish. For example a webserver: with this tool you \
					can test if your webserver can handle it if someone sends \
					gibberish instead of an http-request.

homepage		http://www.vanheusden.com/Linux/
master_sites	${homepage}
checksums		md5 6a4c8f175ffa36b98769a126baf34303
patchfiles		patch-gibberish.c

worksrcdir		${name}

use_configure	no

destroot	{
	xinstall -m 755 -s ${worksrcpath}/gibberish ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/readme ${destroot}${prefix}/share/doc/${name}
}
