aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/bittyrant
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-07-21 05:58:27 +0800
committerbapt <bapt@FreeBSD.org>2012-07-21 05:58:27 +0800
commitfbbeffe536611fe8c57b41b2fd1be41a36f999e6 (patch)
tree6e21387fdcf40d3a51742238da239d7073c20836 /net-p2p/bittyrant
parentbe5ec03a7f82d80ec642235352d74f6689cbb0a9 (diff)
downloadfreebsd-ports-gnome-fbbeffe536611fe8c57b41b2fd1be41a36f999e6.tar.gz
freebsd-ports-gnome-fbbeffe536611fe8c57b41b2fd1be41a36f999e6.tar.zst
freebsd-ports-gnome-fbbeffe536611fe8c57b41b2fd1be41a36f999e6.zip
Convert to new options framework
Diffstat (limited to 'net-p2p/bittyrant')
-rw-r--r--net-p2p/bittyrant/Makefile10
1 files changed, 6 insertions, 4 deletions
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 <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>