From owner-svn-ports-all@FreeBSD.ORG Fri Jul 20 21:58:28 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4BFC5106566B; Fri, 20 Jul 2012 21:58:28 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 36ED08FC0A; Fri, 20 Jul 2012 21:58:28 +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 q6KLwSaV042278; Fri, 20 Jul 2012 21:58:28 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6KLwSn9042275; Fri, 20 Jul 2012 21:58:28 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201207202158.q6KLwSn9042275@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 20 Jul 2012 21:58:28 +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: r301249 - head/net-p2p/bittyrant X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 21:58:28 -0000 Author: bapt Date: Fri Jul 20 21:58:27 2012 New Revision: 301249 URL: http://svn.freebsd.org/changeset/ports/301249 Log: Convert to new options framework Modified: head/net-p2p/bittyrant/Makefile Modified: head/net-p2p/bittyrant/Makefile ============================================================================== --- head/net-p2p/bittyrant/Makefile Fri Jul 20 21:56:57 2012 (r301248) +++ head/net-p2p/bittyrant/Makefile Fri Jul 20 21:58:27 2012 (r301249) @@ -31,7 +31,9 @@ JAVA_OS= native USE_ANT= yes WRKSRC= ${WRKDIR}/BitTyrant -OPTIONS= SWTDEVEL "Use SWT Development port" on +OPTIONS_DEFINE= SWTDEVEL +OPTIONS_DEFAULT= SWTDEVEL +SWTDEVEL_DESC= Use SWT Development port # build classpath from BUILD_DEPENDS MAKE_ENV= LANG=C @@ -46,9 +48,9 @@ SUB_LIST= JARFILE="${PORTNAME}.jar" \ LIBDIR="${LOCALBASE}/lib" \ SWTJAR="${JAVAJARDIR}/${SWT}.jar" -.include +.include -.if defined(WITH_SWTDEVEL) +.if ${PORT_OPTIONS:MSWTDEVEL} SWT= swt-devel .else SWT= swt @@ -68,4 +70,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/dist/Azureus2.jar \ ${JAVAJARDIR}/${PORTNAME}.jar -.include +.include