# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                wait_on
version             1.1
categories          sysutils
platforms           darwin
maintainers         nomaintainer
license             GPL-2

description         waits until a file or directory is changed

long_description    ${name} waits until a file is created, changed, or deleted \
                    using kqueue. Provides a timeout to wait for changes.

homepage            http://www.freshports.org/sysutils/wait_on/
master_sites        freebsd
worksrcdir          ${name}

checksums           md5    6b5917ad6136fdd8295d2d1299db10d5 \
                    sha1   9e3fb51b6324f5aca7664fb8165f61a52bd5bd61 \
                    rmd160 5d14c616c805cef7d369b6fcb6c0377ba1d8ef1d

use_configure       no

variant universal {}

build.type          bsd
build.args          PREFIX=${prefix} \
                    CC="${configure.cc} [get_canonical_archflags cc]"

destroot.args       PREFIX=${prefix} \
                    MANDIR=${prefix}/share/man/man

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*).tar.gz
