# -*- 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
PortGroup           github 1.0

github.setup        measurement-factory dnstop d7e728d6563bb275a00ffa7b876add38a32c91b3
github.tarball_from archive
version             20260401
categories          net
license             BSD
maintainers         {wohner.eu:normen @Gminfly} openmaintainer

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

homepage            http://dns.measurement-factory.com/tools/dnstop/

checksums           rmd160  cdafa606db0632cebb2d1e5ad30bcecc4ee5c5db \
                    sha256  9da8c8a871cb2671a269df932e72ea96dbaaef73d6f20f7643ee13d69af54661 \
                    size    115800

installs_libs       no

pre-build {
    reinplace "s/@VERSION@/${version}/" ${worksrcpath}/dnstop.c
}

depends_lib-append  port:libpcap \
                    port:ncurses
