aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-04-18 14:32:30 +0800
committeredwin <edwin@FreeBSD.org>2006-04-18 14:32:30 +0800
commit2e7c2c42bee51ea43739e3e77919119a6150669f (patch)
treecf71e528fd7e48833d2adce9df1ee6304159922d /audio
parent8d6e88074e5f171faf544c76a9756d11d6e5ff71 (diff)
downloadfreebsd-ports-gnome-2e7c2c42bee51ea43739e3e77919119a6150669f.tar.gz
freebsd-ports-gnome-2e7c2c42bee51ea43739e3e77919119a6150669f.tar.zst
freebsd-ports-gnome-2e7c2c42bee51ea43739e3e77919119a6150669f.zip
[NEW PORT] audio/x4x: X4X for XMMS2
X4X is a client for XMMS2 written in Java with great future goals e.g. video and plugin support. At the moment X4X uses almost all functions from XMMS2 and therefore is quite complete. WWW: http://x4x.sourceforge.net PR: ports/95896 Submitted by: Alexander Botero-Lowry <alex@foxybanana.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/x4x/Makefile54
-rw-r--r--audio/x4x/distinfo3
-rw-r--r--audio/x4x/pkg-descr5
-rw-r--r--audio/x4x/pkg-plist71
5 files changed, 134 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 8a7378fb38c5..d06ae6229258 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -550,6 +550,7 @@
SUBDIR += wsoundprefs
SUBDIR += wsoundserver
SUBDIR += x11amp
+ SUBDIR += x4x
SUBDIR += xaylet
SUBDIR += xcd
SUBDIR += xcdplayer
diff --git a/audio/x4x/Makefile b/audio/x4x/Makefile
new file mode 100644
index 000000000000..f17cff83f990
--- /dev/null
+++ b/audio/x4x/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: x4x
+# Date created: 09 Apr 2006
+# Whom: Alexander Botero-Lowry <alex@foxybanana.com>
+#
+# $FreeBSD$
+
+PORTNAME= x4x
+PORTVERSION= 0.1.2
+CATEGORIES= audio java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= alex@foxybanana.com
+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
+
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+USE_ANT= yes
+MAKE_ARGS= -DswtHome=$J{JAVALIBDIR} \
+ -Dprefix=${JAVASHAREDIR} \
+ -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-run:
+ cd ${WRKSRC} && ant ${MAKE_ARGS} run
+
+pre-install:
+ ${REINPLACE_CMD} -e \
+ 's|$${prefix}/share/X4X/images|$${prefix}/X4X/images|g' \
+ ${WRKSRC}/build.xml
+ ${REINPLACE_CMD} -e 's|$${prefix}/bin/X4X|${PREFIX}/bin/X4X|g' \
+ ${WRKSRC}/build.xml
+
+do-install:
+ @cd ${WRKSRC} && ant ${MAKE_ARGS} ${INSTALL_TARGET}
+
+.include <bsd.port.mk>
diff --git a/audio/x4x/distinfo b/audio/x4x/distinfo
new file mode 100644
index 000000000000..77f7bd00484d
--- /dev/null
+++ b/audio/x4x/distinfo
@@ -0,0 +1,3 @@
+MD5 (x4x-0.1.2.tar.bz2) = 7d481be72637b3647f5ce5cacc11ea1e
+SHA256 (x4x-0.1.2.tar.bz2) = bbd25a85e7196d12b47806cdf7bffd44c9d6f3caca3e9abd058f3939bbc1fdb8
+SIZE (x4x-0.1.2.tar.bz2) = 2563266
diff --git a/audio/x4x/pkg-descr b/audio/x4x/pkg-descr
new file mode 100644
index 000000000000..2b0297543e5f
--- /dev/null
+++ b/audio/x4x/pkg-descr
@@ -0,0 +1,5 @@
+X4X is a client for XMMS2 written in Java with great future goals e.g.
+video and plugin support. At the moment X4X uses almost all functions from
+XMMS2 and therefore is quite complete.
+
+WWW: http://x4x.sourceforge.net
diff --git a/audio/x4x/pkg-plist b/audio/x4x/pkg-plist
new file mode 100644
index 000000000000..2f00c60346a4
--- /dev/null
+++ b/audio/x4x/pkg-plist
@@ -0,0 +1,71 @@
+bin/X4X
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/about16x16.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/about32x32.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/about48x48.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/about64x64.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/lists16x16.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/lists32x32.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/lists48x48.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/lists64x64.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/misc16x16.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/misc32x32.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/misc48x48.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/misc64x64.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/next16x16.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/next32x32.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/next48x48.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/next64x64.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/pause16x16.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/pause32x32.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/pause48x48.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/pause64x64.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/play16x16.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/play32x32.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/play48x48.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/play64x64.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/prev16x16.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/prev32x32.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/prev48x48.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/prev64x64.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/stop16x16.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/stop32x32.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/stop48x48.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/stop64x64.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayAbout.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayEQ.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayExit.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayHelp.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayIcon.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayLists.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayMovie.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayNext.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayPause.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayPlay.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayPrefs.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayPrev.png
+%%DATADIR%%/.xmms2/clients/x4x/images/icons/default/trayStop.png
+%%DATADIR%%/.xmms2/clients/x4x/styles/bigscreen.xml
+%%DATADIR%%/.xmms2/clients/x4x/styles/default.xml
+%%DATADIR%%/.xmms2/clients/x4x/styles/small.xml
+%%DATADIR%%/X4X.jar
+%%DATADIR%%/images/logo.ico
+%%DATADIR%%/images/logo.png
+%%DATADIR%%/images/logo.xpm
+%%DATADIR%%/libs/XWidgets.jar
+%%DATADIR%%/log4j.properties
+%%DATADIR%%/properties/lang/x4x.properties
+%%DATADIR%%/properties/lang/x4x_de.properties
+%%DATADIR%%/properties/lang/x4x_de_austrian.properties
+%%DATADIR%%/properties/lang/x4x_en.properties
+@dirrm %%DATADIR%%/.xmms2/clients/x4x/images/icons/default
+@dirrm %%DATADIR%%/.xmms2/clients/x4x/images/icons
+@dirrm %%DATADIR%%/.xmms2/clients/x4x/images
+@dirrm %%DATADIR%%/.xmms2/clients/x4x/styles
+@dirrm %%DATADIR%%/.xmms2/clients/x4x
+@dirrm %%DATADIR%%/.xmms2/clients
+@dirrm %%DATADIR%%/.xmms2
+@dirrm %%DATADIR%%/images
+@dirrm %%DATADIR%%/libs
+@dirrm %%DATADIR%%/properties/lang
+@dirrm %%DATADIR%%/properties
+@dirrm %%DATADIR%%