source: trunk/dports/net/iftop/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                iftop
7version             1.0pre4
8revision            1
9categories          net
10platforms           darwin
11maintainers         gmail.com:mschamschula openmaintainer
12
13description         display bandwidth usage on an interface
14
15long_description    iftop does for network usage what top(1) does for CPU \
16                    usage. It listens to network traffic on a named \
17                    interface and displays a table of current bandwidth \
18                    usage by pairs of hosts. Handy for answering the \
19                    question \"why is our ADSL link so slow?\"
20
21homepage            http://www.ex-parrot.com/~pdw/iftop/
22master_sites        ${homepage}download/
23
24checksums           rmd160  10730f5deccbc090ed0d5b91de009a1af9e0c90d \
25                    sha256  f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
26
27depends_lib         port:libpcap \
28                    port:ncurses
29
30patchfiles          patch-configure.diff
31
32post-patch {
33    reinplace {s|@@PREFIX@@|${prefix}|} ${worksrcpath}/configure
34}
35
36configure.args      --with-libpcap=${prefix}
37
38livecheck.type      regex
39livecheck.regex     ${name}-(\[0-9.\]+(?:pre\[0-9.\]+)?)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.