svn commit: r304080 - head/net-mgmt/netustad
Bryan Drewery
bdrewery at FreeBSD.org
Tue Sep 11 04:07:58 UTC 2012
Author: bdrewery
Date: Tue Sep 11 04:07:57 2012
New Revision: 304080
URL: http://svn.freebsd.org/changeset/ports/304080
Log:
- Convert to new options framework
Approved by: eadler, bapt (mentors, implicit)
Modified:
head/net-mgmt/netustad/Makefile
Modified: head/net-mgmt/netustad/Makefile
==============================================================================
--- head/net-mgmt/netustad/Makefile Tue Sep 11 02:59:05 2012 (r304079)
+++ head/net-mgmt/netustad/Makefile Tue Sep 11 04:07:57 2012 (r304080)
@@ -20,19 +20,22 @@ COMMENT= A Web based admin tool that man
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
More information about the svn-ports-all
mailing list