aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/iriverter/Makefile
blob: 04643af7bc04adb471c3b5f2b31b33c516f47471 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    iriverter
# Date created:     2006-09-05
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   iriverter
PORTVERSION=    0.16
PORTREVISION=   4
CATEGORIES= multimedia java
MASTER_SITES=   SOURCEFORGE

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>