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

PortSystem 1.0

name                dwatch
version             0.1.1
categories          sysutils
platforms           darwin freebsd netbsd openbsd
maintainers         zenspider.com:ryand-macports

description         A daemon watcher
long_description    Dwatch (Daemon Watch) is a program that watches over \
                    other programs and performs actions based on conditions \
                    specified in a configuration file.

homepage            http://siag.nu/dwatch
master_sites        http://siag.nu/pub/dwatch

checksums           md5    25c06240cb5ab8126badc8a78dcd2b79 \
                    sha1   d1588364fcbad85b7ba81fa027199e983de55435 \
                    rmd160 54e28a0c1862372fc455fd5ff71aca82495dacac

patchfiles          patch-Makefile.diff \
                    patch-dwatch.c.diff

use_configure       no

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

post-destroot {
    file copy ${worksrcpath}/dwatch.conf \
        ${destroot}${prefix}/etc/dwatch.conf-dist
}
