# $Id: Portfile 35361 2008-03-25 21:55:18Z pmq@macports.org $ PortSystem 1.0 name dnstop version 20080321 categories net platforms darwin maintainers pmq 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 md5 b8ed056c4b84934ca1f442f34ddea598 depends_lib port:libpcap port:ncurses patchfiles patch-hashtbl.h.diff configure { # using the short form it'll pick up the /usr/lib one reinplace "s|-lcurses|-lncurses|" ${worksrcpath}/Makefile reinplace "s|/man/man8|/share/man/man8|" ${worksrcpath}/Makefile } build.env LDFLAGS=${configure.ldflags} \ CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" destroot.args PREFIX=${destroot}${prefix} livecheck.url ${master_sites}/MD5s.txt livecheck.check moddate