aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ipa
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-07 01:16:59 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-07 01:16:59 +0000
commitd6a4b1f5e6084009963fda8920a076ec7ba223f9 (patch)
tree4bc0254cfbd6b228b7961b6dffcbc509fac5effd /sysutils/ipa
parent8386973466546d71397c3d20805b61e5e4d19fd5 (diff)
downloadports-d6a4b1f5e6084009963fda8920a076ec7ba223f9.tar.gz
ports-d6a4b1f5e6084009963fda8920a076ec7ba223f9.zip
Notes
Diffstat (limited to 'sysutils/ipa')
-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