freebsd-ports/multimedia/iriverter/Makefile

44 lines
983 B
Makefile

# New ports collection makefile for: iriverter
# Date created: 2006-09-05
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= iriverter
PORTVERSION= 0.16
PORTREVISION= 5
CATEGORIES= multimedia java
MASTER_SITES= SF
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Cross-platform frontend to mencoder
RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mencoder
USE_JAVA= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
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>