aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/bittyrant
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-07-20 21:58:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-07-20 21:58:27 +0000
commit54e36b7e898315ff4b6ab0d2d2824f36ba9ee593 (patch)
tree6e21387fdcf40d3a51742238da239d7073c20836 /net-p2p/bittyrant
parent1403623fa978e9949eb2bc9c858a14632e272d71 (diff)
downloadports-54e36b7e898315ff4b6ab0d2d2824f36ba9ee593.tar.gz
ports-54e36b7e898315ff4b6ab0d2d2824f36ba9ee593.zip
Notes
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>