Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2012 04:07:58 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304080 - head/net-mgmt/netustad
Message-ID:  <201209110407.q8B47wf8074026@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209110407.q8B47wf8074026>