aboutsummaryrefslogtreecommitdiff
path: root/net/ifstat
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-05 17:07:43 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-05 17:07:43 +0000
commitfb3520254ab73be0aad04c3a63b781750cf26b5b (patch)
tree268d74f9d8738f78b0c895672044611aa6343387 /net/ifstat
parent4706739618b79681811e5b336a54032908638160 (diff)
downloadports-fb3520254ab73be0aad04c3a63b781750cf26b5b.tar.gz
ports-fb3520254ab73be0aad04c3a63b781750cf26b5b.zip
Notes
Diffstat (limited to 'net/ifstat')
-rw-r--r--net/ifstat/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/net/ifstat/Makefile b/net/ifstat/Makefile
index 08fd0a479ed4..e1d13a7e33d3 100644
--- a/net/ifstat/Makefile
+++ b/net/ifstat/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ifstat
-# Date created: 30 Mar 2003
-# Whom: spf@xslt.cs.nccu.edu.tw
-#
+# Created by: spf@xslt.cs.nccu.edu.tw
# $FreeBSD$
-#
PORTNAME= ifstat
PORTVERSION= 1.1
@@ -18,17 +14,17 @@ COMMENT= Network interface statistics monitoring tool
GNU_CONFIGURE= yes
USE_OPENSSL= yes
-OPTIONS= SNMP "SNMP support" off
+OPTIONS_DEFINE= SNMP
MAN1= ifstat.1
PLIST_FILES= bin/ifstat
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_SNMP)
+.if ${PORT_OPTIONS:MSNMP}
LIB_DEPENDS+= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp
.else
CONFIGURE_ARGS+= --without-snmp
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>