PortSystem 1.0

name            waitfor
version         0.5
categories      sysutils
platforms       any
supported_archs noarch
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.
license         GPL-2+

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

depends_run     bin:python:python27

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}
}

livecheck.type  none