# $Id: Portfile,v 1.1 2004/09/21 19:59:16 mww Exp $

PortSystem 1.0

name			waitfor
version			0.5
categories		sysutils
platforms		darwin
maintainers		mww@opendarwin.org
description		waits until a url is available, a port is being listened to, etc.
long_description	utility that will wait until a url is available, until a \
				port is being listened to, until an amount of time has passed \
				or until a shell command succeeds.

homepage		http://www.hennessynet.com/waitfor/
master_sites	${homepage}
checksums		md5 9c8759e26e8f5cb2345443a6523dfca3

depends_run		bin:python:python23

use_configure	no

build	{}

destroot {
	xinstall -m 755 ${worksrcpath}/waitfor ${destroot}${prefix}/bin
	xinstall -m 644 ${worksrcpath}/waitfor.1 ${destroot}${prefix}/share/man/man1
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} COPYING INSTALL README waitfor.xml \
		${destroot}${prefix}/share/doc/${name}
}
