aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/iriverter
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-05-30 20:38:59 +0800
committerbapt <bapt@FreeBSD.org>2012-05-30 20:38:59 +0800
commit78b607c5e49d03c2d2ca58c63ed29cab25abb2ee (patch)
tree7baaa20543fd03210214856c3195211a1640b600 /multimedia/iriverter
parent2ce77a0322ccfd3aa5810625f3bdf4d27eadbd2a (diff)
downloadfreebsd-ports-gnome-78b607c5e49d03c2d2ca58c63ed29cab25abb2ee.tar.gz
freebsd-ports-gnome-78b607c5e49d03c2d2ca58c63ed29cab25abb2ee.tar.zst
freebsd-ports-gnome-78b607c5e49d03c2d2ca58c63ed29cab25abb2ee.zip
Convert to new options framework
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>