svn commit: r306303 - head/net-mgmt/bsnmp-regex

Baptiste Daroussin bapt at FreeBSD.org
Tue Oct 23 09:27:35 UTC 2012


Author: bapt
Date: Tue Oct 23 09:27:34 2012
New Revision: 306303
URL: http://svn.freebsd.org/changeset/ports/306303

Log:
  Convert to new options framework
  
  Feature safe:	yes

Modified:
  head/net-mgmt/bsnmp-regex/Makefile

Modified: head/net-mgmt/bsnmp-regex/Makefile
==============================================================================
--- head/net-mgmt/bsnmp-regex/Makefile	Tue Oct 23 09:23:15 2012	(r306302)
+++ head/net-mgmt/bsnmp-regex/Makefile	Tue Oct 23 09:27:34 2012	(r306303)
@@ -12,11 +12,12 @@ COMMENT=	A bsnmpd module allowing creati
 
 GNU_CONFIGURE=	yes
 
-OPTIONS=	PCRE	"Use PCRE instead of the default regex library"	Off
+OPTIONS_DEFINE=	PCRE
+PCRE_DESC=	Use PCRE instead of the default regex library
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_PCRE)
+.if ${PORT_OPTIONS:MPCRE}
 LIB_DEPENDS+=		pcre.1:${PORTSDIR}/devel/pcre
 CONFIGURE_ARGS+=	--enable-pcre
 .else


More information about the svn-ports-all mailing list