aboutsummaryrefslogtreecommitdiff
path: root/multimedia/iriverter
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-30 12:38:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-30 12:38:59 +0000
commitfb84567d8281c4f9cbf7bbc77f930adca7a3b688 (patch)
tree94551e75c669e4ea7507d30a93794e8ae96ec55b /multimedia/iriverter
parentc4d64199c0eccd54e1bb8349e06f80c8841a4d7f (diff)
downloadports-fb84567d8281c4f9cbf7bbc77f930adca7a3b688.tar.gz
ports-fb84567d8281c4f9cbf7bbc77f930adca7a3b688.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=297779
Diffstat (limited to 'multimedia/iriverter')
-rw-r--r--multimedia/iriverter/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/multimedia/iriverter/Makefile b/multimedia/iriverter/Makefile
index e03d6fec42bc..72931c4257e0 100644
--- a/multimedia/iriverter/Makefile
+++ b/multimedia/iriverter/Makefile
@@ -21,13 +21,14 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-OPTIONS= SWTDEVEL "Use SWT Development port" off
+OPTIONS_DEFINE= SWTDEVEL
+SWTDEVEL_DESC= Use SWT Development port
CONFIGURE_ARGS= --with-swt="${JAVALIBDIR}/${SWT_JAR}"
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_SWTDEVEL)
+.if ${PORT_OPTIONS:MSWTDEVEL}
BUILD_DEPENDS+= \
${JAVALIBDIR}/swt-devel.jar:${PORTSDIR}/x11-toolkits/swt-devel
RUN_DEPENDS+= \
@@ -41,4 +42,4 @@ RUN_DEPENDS+= \
SWT_JAR= swt.jar
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>