aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/bsnmp-regex
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-10-23 17:27:34 +0800
committerbapt <bapt@FreeBSD.org>2012-10-23 17:27:34 +0800
commit78a3d94e7440de8188fc343d36a9b7d795ce29f7 (patch)
tree1a6afb1042f3f039d299bd18528c92eaa2c68835 /net-mgmt/bsnmp-regex
parentb6fd6cd6d3d89d43e79c009ad46b353c4e33b0b9 (diff)
downloadfreebsd-ports-gnome-78a3d94e7440de8188fc343d36a9b7d795ce29f7.tar.gz
freebsd-ports-gnome-78a3d94e7440de8188fc343d36a9b7d795ce29f7.tar.zst
freebsd-ports-gnome-78a3d94e7440de8188fc343d36a9b7d795ce29f7.zip
Convert to new options framework
Feature safe: yes
Diffstat (limited to 'net-mgmt/bsnmp-regex')
-rw-r--r--net-mgmt/bsnmp-regex/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/bsnmp-regex/Makefile b/net-mgmt/bsnmp-regex/Makefile
index 99fc06ccf736..47b80b7f18bf 100644
--- a/net-mgmt/bsnmp-regex/Makefile
+++ b/net-mgmt/bsnmp-regex/Makefile
@@ -12,11 +12,12 @@ COMMENT= A bsnmpd module allowing creation of counters from log files
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