From fbbeffe536611fe8c57b41b2fd1be41a36f999e6 Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 20 Jul 2012 21:58:27 +0000 Subject: Convert to new options framework --- net-p2p/bittyrant/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'net-p2p/bittyrant') diff --git a/net-p2p/bittyrant/Makefile b/net-p2p/bittyrant/Makefile index 814e9cc872af..97c05d842667 100644 --- a/net-p2p/bittyrant/Makefile +++ b/net-p2p/bittyrant/Makefile @@ -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 -- cgit