# $Id: Portfile 30254 2007-10-23 02:22:51Z jmpp@macports.org $

PortSystem 1.0

name			waitfor
version			0.5
categories		sysutils
platforms		darwin
maintainers		nomaintainer
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}
}
