diff options
author | miwi <miwi@FreeBSD.org> | 2013-03-06 01:07:43 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2013-03-06 01:07:43 +0800 |
commit | b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7 (patch) | |
tree | 268d74f9d8738f78b0c895672044611aa6343387 /net/ifstat | |
parent | 4c148339a17778393b116c6e7051a9bc484e786a (diff) | |
download | freebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.tar.gz freebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.tar.zst freebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.zip |
- Convert to OptionsNG
- Trim header
Reviewed by: beat, bapt, kwm
Diffstat (limited to 'net/ifstat')
-rw-r--r-- | net/ifstat/Makefile | 14 |
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> |