# -*- 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
# $Id$

PortSystem 1.0

name                dnstop
version             20121017
revision            1
categories          net
platforms           darwin
license             BSD
maintainers         wohner.eu:normen

description         dnstop is a libpcap application that displays tables of DNS traffic
long_description    ${description}

homepage            http://dnstop.measurement-factory.com
master_sites        ${homepage}/src

checksums           sha1    836d9bc118df539b80eb349ca45c946323b13366 \
                    rmd160  0119af9e32306a502b21bb9b717c5d8d5a2a1bee

installs_libs       no

depends_lib         port:libpcap port:ncurses

destroot {
    xinstall -W ${worksrcpath} ${name} ${destroot}${prefix}/bin/
    xinstall -W ${worksrcpath} ${name}.8 ${destroot}${prefix}/share/man/man8/
}

livecheck.url       ${master_sites}
livecheck.type      regex
livecheck.regex     ${name}-(\\d+)