# -*- 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
maintainers {mps @Schamschula} openmaintainer
description display bandwidth usage on an interface
long_description iftop does for network usage what top(1) does for CPU \
usage. It listens to network traffic on a named \
interface and displays a table of current bandwidth \
usage by pairs of hosts. Handy for answering the \
question \"why is our ADSL link so slow?\"
homepage http://www.ex-parrot.com/~pdw/iftop/
master_sites ${homepage}download/
checksums rmd160 10730f5deccbc090ed0d5b91de009a1af9e0c90d \
sha256 f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
depends_lib port:libpcap \
patchfiles patch-configure.diff
reinplace {s|@@PREFIX@@|${prefix}|} ${worksrcpath}/configure
configure.args --with-libpcap=${prefix}
livecheck.regex ${name}-(\[0-9.\]+(?:pre\[0-9.\]+)?)${extract.suffix}