openbsd-ports/net/ifstat/Makefile

41 lines
708 B
Makefile
Raw Normal View History

2010-11-19 17:31:32 -05:00
# $OpenBSD: Makefile,v 1.11 2010/11/19 22:31:33 espie Exp $
COMMENT= tool to monitor interface bandwidth usage
2004-04-18 19:33:17 -04:00
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
2004-12-15 19:31:20 -05:00
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}
CONFIGURE_STYLE= gnu dest
2010-11-19 17:31:32 -05:00
USE_GROFF = Yes
NO_REGRESS= Yes
FLAVORS= snmp
FLAVOR?=
.if ${FLAVOR:L} == "snmp"
2010-11-19 17:31:32 -05:00
WANTLIB += netsnmp
LIB_DEPENDS= net/net-snmp
CONFIGURE_ARGS+= --with-snmp=${LOCALBASE}
2004-12-15 19:31:20 -05:00
WANTLIB+= crypto m
.else
CONFIGURE_ARGS+= --without-snmp
.endif
.include <bsd.port.mk>