# -*- 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: Portfile 84550 2011-09-27 21:05:11Z snc@macports.org $

PortSystem 1.0

name                dnstop
version             20110502
categories          net
platforms           darwin
maintainers         pmq openmaintainer

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    564e3c4191677577c4c30061faa77325780dcd3c \
                    rmd160  0b0e4e8be75178554f9d3eabe84e9a09991658df

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+)
