From owner-svn-ports-head@FreeBSD.ORG Tue Sep 11 04:07:58 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5DE02106566B; Tue, 11 Sep 2012 04:07:58 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4974B8FC0A; Tue, 11 Sep 2012 04:07:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8B47w4u074028; Tue, 11 Sep 2012 04:07:58 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8B47wf8074026; Tue, 11 Sep 2012 04:07:58 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201209110407.q8B47wf8074026@svn.freebsd.org> From: Bryan Drewery Date: Tue, 11 Sep 2012 04:07:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r304080 - head/net-mgmt/netustad X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2012 04:07:58 -0000 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 -.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