2006-04-18 02:32:30 -04:00
|
|
|
# New ports collection makefile for: x4x
|
|
|
|
# Date created: 09 Apr 2006
|
|
|
|
# Whom: Alexander Botero-Lowry <alex@foxybanana.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= x4x
|
2006-07-28 06:22:38 -04:00
|
|
|
PORTVERSION= 0.2.1
|
2006-04-18 02:32:30 -04:00
|
|
|
CATEGORIES= audio java
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2006-07-28 06:22:38 -04:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
2006-04-18 02:32:30 -04:00
|
|
|
|
2006-09-12 23:21:38 -04:00
|
|
|
MAINTAINER= alexbl@FreeBSD.org
|
2006-04-18 02:32:30 -04:00
|
|
|
COMMENT= X4X for XMMS2
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${JAVALIBDIR}/xmms2java.jar:${PORTSDIR}/audio/java-xmms2 \
|
|
|
|
${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 \
|
|
|
|
${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j \
|
|
|
|
${JAVALIBDIR}/jcifs.jar:${PORTSDIR}/net/jcifs \
|
|
|
|
${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \
|
|
|
|
${JAVALIBDIR}/jdom.jar:${PORTSDIR}/java/jdom \
|
|
|
|
${JAVALIBDIR}/jid3lib.jar:${PORTSDIR}/audio/jid3lib
|
|
|
|
|
2006-10-20 23:14:10 -04:00
|
|
|
BROKEN= Does not build
|
2007-02-10 20:23:35 -05:00
|
|
|
DEPRECATED= ${BROKEN}
|
|
|
|
EXPIRATION_DATE=2007-04-10
|
2006-10-20 23:14:10 -04:00
|
|
|
|
2006-04-18 02:32:30 -04:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.4+
|
|
|
|
USE_ANT= yes
|
2006-07-28 06:22:38 -04:00
|
|
|
MAKE_ARGS= -DinstallDir=${JAVASHAREDIR}/X4X \
|
|
|
|
-DsharedDir=${JAVASHAREDIR}/X4X \
|
2006-04-18 02:32:30 -04:00
|
|
|
-Dprefix=${JAVASHAREDIR} \
|
2006-07-28 06:22:38 -04:00
|
|
|
-Dbinary=${PREFIX}/bin/x4x \
|
2006-04-18 02:32:30 -04:00
|
|
|
-Dswt=${JAVALIBDIR}/swt.jar \
|
|
|
|
-Dxmms2java=${JAVALIBDIR}/xmms2java.jar \
|
|
|
|
-Dlog4j=${JAVALIBDIR}/log4j.jar \
|
|
|
|
-Djcifs=${JAVALIBDIR}/jcifs.jar \
|
|
|
|
-Djunit=${JAVALIBDIR}/junit.jar \
|
|
|
|
-Djdom=${JAVALIBDIR}/jdom.jar \
|
|
|
|
-Djid3lib=${JAVALIBDIR}/jid3lib.jar
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
WRKSRC= ${WRKDIR}/X4X
|
|
|
|
DATADIR= ${JAVASHAREDIR}/X4X
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@cd ${WRKSRC} && ant ${MAKE_ARGS} ${INSTALL_TARGET}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|