1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name wait_on |
---|
7 | version 1.1 |
---|
8 | categories sysutils |
---|
9 | platforms darwin |
---|
10 | maintainers webfinish.com:kirk |
---|
11 | description waits until a file or directory is changed |
---|
12 | long_description utility that will wait until a file is created, changed, or deleted \ |
---|
13 | using kqueue. Provides a timeout to wait for changes. |
---|
14 | license GPLv2 |
---|
15 | |
---|
16 | homepage http://www.freshports.org/sysutils/wait_on/ |
---|
17 | master_sites http://freebsd.unixfreunde.de/sources/ |
---|
18 | checksums md5 6b5917ad6136fdd8295d2d1299db10d5 \ |
---|
19 | sha1 9e3fb51b6324f5aca7664fb8165f61a52bd5bd61 \ |
---|
20 | rmd160 5d14c616c805cef7d369b6fcb6c0377ba1d8ef1d |
---|
21 | |
---|
22 | use_configure no |
---|
23 | worksrcdir ${workpath}/${name} |
---|
24 | |
---|
25 | |
---|
26 | build { |
---|
27 | exec echo cd ${worksrcdir} > doit.sh |
---|
28 | exec echo gcc -o wait_on wait_on.c >> doit.sh |
---|
29 | exec chmod +x doit.sh |
---|
30 | exec ./doit.sh |
---|
31 | exec rm doit.sh |
---|
32 | } |
---|
33 | |
---|
34 | destroot { |
---|
35 | xinstall -m 755 ${worksrcdir}/${name} ${destroot}${prefix}/bin |
---|
36 | xinstall -m 644 ${worksrcdir}/${name}.1 ${destroot}${prefix}/share/man/man1 |
---|
37 | } |
---|
38 | |
---|
39 | livecheck.type regex |
---|
40 | livecheck.url ${homepage} |
---|
41 | livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz |
---|