/
Portfile
40 lines (33 loc) · 1.39 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- 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
name ifstat
version 1.1
revision 8
checksums rmd160 dd3449590f3b5caf0a4190579518e1014b34be68 \
sha256 8599063b7c398f9cfef7a9ec699659b25b1c14d2bc0f535aed05ce32b7d9f507 \
size 67920
categories sysutils net
description ifstat is a tool to report network interface bandwidth
long_description \
ifstat is a tool to report network interfaces bandwith \
just like vmstat/iostat do for other system counters. \
ifstat gathers these statistics from the kernel internal \
counters, which is highly operating system dependent.
homepage http://gael.roualland.free.fr/ifstat/
license GPL-2
platforms darwin
maintainers nomaintainer
master_sites ${homepage}
patchfiles DESTDIR.patch \
ifstat.c.patch \
implicit.patch
configure.args --mandir=${prefix}/share/man --enable-library \
--without-snmp \
--without-ifmib
variant snmp description "Enable SNMP support" {
depends_lib-append port:net-snmp
configure.args-replace --without-snmp --with-snmp=${prefix}
}
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex \"${name}-(\[0-9.\]+)[quotemeta ${extract.suffix}]