aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2012-06-07 09:16:59 +0800
committersylvio <sylvio@FreeBSD.org>2012-06-07 09:16:59 +0800
commit7a0aa3de11857d7b985d62c94198aeada7c7176c (patch)
tree17a2d797acbffb59efcd8272106409bed05d31df /sysutils
parent6999aad7081f237c14e965dd2fa1f656d5ff2fed (diff)
downloadfreebsd-ports-gnome-7a0aa3de11857d7b985d62c94198aeada7c7176c.tar.gz
freebsd-ports-gnome-7a0aa3de11857d7b985d62c94198aeada7c7176c.tar.zst
freebsd-ports-gnome-7a0aa3de11857d7b985d62c94198aeada7c7176c.zip
- Update to new options framework.
PR: ports/168712 Submitted by: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ipa/Makefile27
1 files changed, 15 insertions, 12 deletions
diff --git a/sysutils/ipa/Makefile b/sysutils/ipa/Makefile
index 2fd96ceab254..9f1af80374e7 100644
--- a/sysutils/ipa/Makefile
+++ b/sysutils/ipa/Makefile
@@ -19,36 +19,39 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_RC_SUBR= ipa
-OPTIONS= AUTORULES "Enable dynamic rules support" on \
- RULES "Enable static rules support" on \
- LIMITS "Enable limits support" on \
- SUBLIMITS "Enable sublimits support" on \
- THRESHOLDS "Enable thresholds support" on \
- CTL_CREDS "Enable ipactl's messages credentials" off
+NO_OPTIONS_SORT= yes
+OPTIONS_DEFINE= AUTORULES RULES LIMITS SUBLIMITS THRESHOLDS CTL_CREDS
+OPTIONS_DEFAULT= AUTORULES RULES LIMITS SUBLIMITS THRESHOLDS
+AUTORULES_DESC= Enable dynamic rules support
+RULES_DESC= Enable static rules support
+LIMITS_DESC= Enable limits support
+SUBLIMITS_DESC= Enable sublimits support
+THRESHOLDS_DESC= Enable thresholds support
+CTL_CREDS_DESC= Enable ipactl's messages credentials
.include <bsd.port.options.mk>
-.if defined(WITHOUT_AUTORULES)
+.if empty(PORT_OPTIONS:MAUTORULES)
CONFIGURE_ARGS+= --disable-autorules
.endif
-.if defined(WITHOUT_RULES)
+.if empty(PORT_OPTIONS:MRULES)
CONFIGURE_ARGS+= --disable-rules
.endif
-.if defined(WITHOUT_LIMITS)
+.if empty(PORT_OPTIONS:MLIMITS)
CONFIGURE_ARGS+= --disable-limits
.endif
-.if defined(WITHOUT_SUBLIMITS)
+.if empty(PORT_OPTIONS:MSUBLIMITS)
CONFIGURE_ARGS+= --disable-sublimits
.endif
-.if defined(WITHOUT_THRESHOLDS)
+.if empty(PORT_OPTIONS:MTHRESHOLDS)
CONFIGURE_ARGS+= --disable-thresholds
.endif
-.if defined(WITH_CTL_CREDS)
+.if ${PORT_OPTIONS:MCTL_CREDS}
CONFIGURE_ARGS+= --enable-ctl-creds
.endif