From owner-svn-ports-head@FreeBSD.ORG Sat Oct 13 18:24:46 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8AE19EF7; Sat, 13 Oct 2012 18:24:46 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 744638FC14; Sat, 13 Oct 2012 18:24:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9DIOkJT079475; Sat, 13 Oct 2012 18:24:46 GMT (envelope-from zi@svn.freebsd.org) Received: (from zi@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9DIOkV5079473; Sat, 13 Oct 2012 18:24:46 GMT (envelope-from zi@svn.freebsd.org) Message-Id: <201210131824.q9DIOkV5079473@svn.freebsd.org> From: Ryan Steinmetz Date: Sat, 13 Oct 2012 18:24:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305845 - head/net-mgmt/snmp4nagios X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2012 18:24:46 -0000 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 CONFIGURE_ARGS= --sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \ --bindir=${PREFIX}/libexec/nagios \ @@ -39,7 +42,7 @@ CFLAGS+= -I${LOCALBASE}/include .include -.if defined(WITH_RRDTOOL) +.if ${PORT_OPTIONS:MRRDTOOL} LIB_DEPENDS+= rrd:${PORTSDIR}/databases/rrdtool CONFIGURE_ARGS+=--with-rrd PLIST_SUB+= RRD=""