aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2007-02-20 23:39:10 +0000
committerMichael Johnson <ahze@FreeBSD.org>2007-02-20 23:39:10 +0000
commit7fa20b0ce0996c4e8dc4bc847c039a3296df03ae (patch)
tree53c12a6b6b570d2f780b020abbf5711dc46e4890 /multimedia
parent730dfb4bd9ca45ca97bcc344e1a75243744eaa70 (diff)
downloadports-7fa20b0ce0996c4e8dc4bc847c039a3296df03ae.tar.gz
ports-7fa20b0ce0996c4e8dc4bc847c039a3296df03ae.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/iriverter/Makefile30
1 files changed, 23 insertions, 7 deletions
diff --git a/multimedia/iriverter/Makefile b/multimedia/iriverter/Makefile
index 37bca70da0e4..4de289fe66ff 100644
--- a/multimedia/iriverter/Makefile
+++ b/multimedia/iriverter/Makefile
@@ -7,22 +7,38 @@
PORTNAME= iriverter
PORTVERSION= 0.16
+PORTREVISION= 2
CATEGORIES= multimedia java
MASTER_SITES= SOURCEFORGE
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Cross-platform frontend to mencoder
-BUILD_DEPENDS= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 \
- ${LOCALBASE}/lib/libswt-gnome-gtk-3139.so:${PORTSDIR}/x11-toolkits/swt31
-RUN_DEPENDS= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 \
- ${LOCALBASE}/lib/libswt-gnome-gtk-3139.so:${PORTSDIR}/x11-toolkits/swt31 \
- mencoder:${PORTSDIR}/multimedia/mplayer
+RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer
USE_JAVA= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_ARGS= --with-swt="${JAVALIBDIR}/swt.jar"
-.include <bsd.port.mk>
+OPTIONS= SWTDEVEL "Use SWT Development port" off
+
+CONFIGURE_ARGS= --with-swt="${JAVALIBDIR}/${SWT_JAR}"
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_SWTDEVEL)
+BUILD_DEPENDS+= \
+ ${JAVALIBDIR}/swt-devel.jar:${PORTSDIR}/x11-toolkits/swt-devel
+RUN_DEPENDS+= \
+ ${JAVALIBDIR}/swt-devel.jar:${PORTSDIR}/x11-toolkits/swt-devel
+SWT_JAR= swt-devel.jar
+.else
+BUILD_DEPENDS+= \
+ ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt
+RUN_DEPENDS+= \
+ ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt
+SWT_JAR= swt.jar
+.endif
+
+.include <bsd.port.post.mk>