Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 21:58:28 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301249 - head/net-p2p/bittyrant
Message-ID:  <201207202158.q6KLwSn9042275@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>



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