PortSystem 1.0

name                xtail
version             2.1
revision            1
categories          sysutils
# See files/copyright - original program is public domain, but Debian
# patches are BSD.
license             BSD
maintainers         nomaintainer

description         like 'tail -f' on a bunch of files at once
long_description    xtail watches the growth of files. It's like running a \
            "tail -f" on a bunch of files at once. My favorite \
            usage is: xtail /var/log/* \
                        You can specify both filenames and directories on the \
            command line. If you specify a directory, it watches all \
            the files in that directory. It will notice when new files \
            are created (and start watching them) or when old files are \
            deleted (and stop watching them).

platforms           darwin freebsd
homepage            https://web.archive.org/web/20200222030047/http://www.unicom.com/sw/xtail
#master_sites        http://www.unicom.com/files/
master_sites        macports_distfiles

checksums           md5 2e4717c591a2cbbd4aeb63d00c87a0cb \
                    sha256 75184926dffd89e9405769b24f01c8ed3b25d3c4a8eac60271fc5bb11f6c2d53

patchfiles          010_previous.patch \
                    020_iso-dates.patch \
                    030_xtail.c.patch \
                    040_miscfuncs.c.patch \
                    050_64-bit-time_t.patch

use_autoconf        yes

destroot.destdir    prefix=${destroot}${prefix} \
                    mandir=${destroot}${prefix}/share/man

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0444 ${filespath}/copyright ${destroot}${prefix}/share/doc/${name}
}
