svn commit: r305845 - head/net-mgmt/snmp4nagios
Ryan Steinmetz
zi at FreeBSD.org
Sat Oct 13 18:24:46 UTC 2012
Author: zi
Date: Sat Oct 13 18:24:45 2012
New Revision: 305845
URL: http://svn.freebsd.org/changeset/ports/305845
Log:
- Convert to OptionsNG
Feature safe: yes
Modified:
head/net-mgmt/snmp4nagios/Makefile
Modified: head/net-mgmt/snmp4nagios/Makefile
==============================================================================
--- head/net-mgmt/snmp4nagios/Makefile Sat Oct 13 18:07:14 2012 (r305844)
+++ head/net-mgmt/snmp4nagios/Makefile Sat Oct 13 18:24:45 2012 (r305845)
@@ -22,7 +22,10 @@ GNU_CONFIGURE= yes
NAGIOSWWWDIR?= www/nagios
NAGIOSDIR?= /var/spool/nagios
-OPTIONS= RRDTOOL "Build with rrdtool support" OFF
+OPTIONS_DEFINE= RRDTOOL
+RRDTOOL_DESC= Build with rrdtool support
+
+.include <bsd.port.options.mk>
CONFIGURE_ARGS= --sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
--bindir=${PREFIX}/libexec/nagios \
@@ -39,7 +42,7 @@ CFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.pre.mk>
-.if defined(WITH_RRDTOOL)
+.if ${PORT_OPTIONS:MRRDTOOL}
LIB_DEPENDS+= rrd:${PORTSDIR}/databases/rrdtool
CONFIGURE_ARGS+=--with-rrd
PLIST_SUB+= RRD=""
More information about the svn-ports-head
mailing list