openbsd-ports/net/ifstat/Makefile
sthen d1c6f80880 use REVISION, checked with before/after make show=PKGNAMES (plus some
extra-careful checking where there are complicated PSEUDO_FLAVORS).
2010-07-12 22:07:37 +00:00

39 lines
683 B
Makefile

# $OpenBSD: Makefile,v 1.9 2010/07/12 22:07:38 sthen Exp $
COMMENT= tool to monitor interface bandwidth usage
DISTNAME= ifstat-1.1
REVISION= 1
CATEGORIES= net
HOMEPAGE= http://gael.roualland.free.fr/ifstat/
MAINTAINER= Johan Fredin <johan@spelaroll.se>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}
CONFIGURE_STYLE= gnu dest
NO_REGRESS= Yes
FLAVORS= snmp
FLAVOR?=
.if ${FLAVOR:L} == "snmp"
LIB_DEPENDS= netsnmp.6.2::net/net-snmp
CONFIGURE_ARGS+= --with-snmp=${LOCALBASE}
WANTLIB+= crypto m
.else
CONFIGURE_ARGS+= --without-snmp
.endif
.include <bsd.port.mk>