aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netustad
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-09-11 04:07:57 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-09-11 04:07:57 +0000
commit02ceb3d10b3d536884e2181cba152644513c2510 (patch)
tree4681c3d0392c8af9944dd0501077d0586c0e50f0 /net-mgmt/netustad
parentd84301c86ccfd26b0fd362fe32b797d703fc1262 (diff)
downloadports-02ceb3d10b3d536884e2181cba152644513c2510.tar.gz
ports-02ceb3d10b3d536884e2181cba152644513c2510.zip
Notes
Diffstat (limited to 'net-mgmt/netustad')
-rw-r--r--net-mgmt/netustad/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-mgmt/netustad/Makefile b/net-mgmt/netustad/Makefile
index b7fe51d40f13..f2a5719a0658 100644
--- a/net-mgmt/netustad/Makefile
+++ b/net-mgmt/netustad/Makefile
@@ -20,19 +20,22 @@ COMMENT= A Web based admin tool that manages network services
USE_RC_SUBR= ${PORTNAME}
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-OPTIONS= SSL "Use netUstad with SSL support" on
+
+OPTIONS_DEFINE= SSL NLS
+OPTIONS_DEFAULT=SSL
+SSL_DESC= Use netUstad with SSL support
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_SSL)
+.if ${PORT_OPTIONS:MSSL}
USE_OPENSSL= yes
.else
CONFIGURE_ARGS+= --without-ssl
.endif
-.if defined(WITHOUT_NLS)
+.if empty(PORT_OPTIONS:MNLS)
CONFIGURE_ARGS+= --without-nls
.endif