aboutsummaryrefslogtreecommitdiffstats
path: root/audio/jxm
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2004-03-08 15:24:58 +0800
committernsayer <nsayer@FreeBSD.org>2004-03-08 15:24:58 +0800
commit1bd28506e4b6905923d0d01395b40409568b6608 (patch)
treedb7ff60833adec86f41a6d04ee4d3a484a9a1d6c /audio/jxm
parentb024dd8b8bad4cb06368cde0db91dcbf28dfadc4 (diff)
downloadfreebsd-ports-graphics-1bd28506e4b6905923d0d01395b40409568b6608.tar.gz
freebsd-ports-graphics-1bd28506e4b6905923d0d01395b40409568b6608.tar.zst
freebsd-ports-graphics-1bd28506e4b6905923d0d01395b40409568b6608.zip
Add the JXM port - XMPCR control software
Diffstat (limited to 'audio/jxm')
-rw-r--r--audio/jxm/Makefile36
-rw-r--r--audio/jxm/distinfo1
-rw-r--r--audio/jxm/files/jxm3
-rw-r--r--audio/jxm/pkg-descr2
-rw-r--r--audio/jxm/pkg-plist2
5 files changed, 44 insertions, 0 deletions
diff --git a/audio/jxm/Makefile b/audio/jxm/Makefile
new file mode 100644
index 00000000000..5d7da1e60d0
--- /dev/null
+++ b/audio/jxm/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: jxm
+# Date created: 07 March 2004
+# Whom: Nick Sayer <nsayer@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jxm
+PORTVERSION= 0.5
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= javaxm
+DISTNAME= jxm-${PORTVERSION}
+EXTRACT_SUFX= .jar
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= XMPCR (USB XM radio) control software
+
+RUN_DEPENDS= ${JDKDIR}/jre/lib/ext/CommDriver.jar:${PORTSDIR}/comms/java-commapi-freebsd
+
+USE_JAVA= 1.4+
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+
+do-build:
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
+ < ${FILESDIR}/jxm > ${WRKSRC}/jxm
+
+do-install:
+ ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} \
+ ${PREFIX}/share/java/classes/jxm.jar
+ ${INSTALL_SCRIPT} ${WRKSRC}/jxm \
+ ${PREFIX}/bin/jxm
+
+.include <bsd.port.mk>
diff --git a/audio/jxm/distinfo b/audio/jxm/distinfo
new file mode 100644
index 00000000000..866103662d2
--- /dev/null
+++ b/audio/jxm/distinfo
@@ -0,0 +1 @@
+MD5 (jxm-0.5.jar) = a2edc337920721a50d650f7498941d92
diff --git a/audio/jxm/files/jxm b/audio/jxm/files/jxm
new file mode 100644
index 00000000000..cbd5863fa38
--- /dev/null
+++ b/audio/jxm/files/jxm
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+exec javavm -jar %%PREFIX%%/share/classes/jxm.jar
diff --git a/audio/jxm/pkg-descr b/audio/jxm/pkg-descr
new file mode 100644
index 00000000000..8f2b59ad8c1
--- /dev/null
+++ b/audio/jxm/pkg-descr
@@ -0,0 +1,2 @@
+
+WWW: http://javaxm.sourceforge.net/
diff --git a/audio/jxm/pkg-plist b/audio/jxm/pkg-plist
new file mode 100644
index 00000000000..de173aaa3c2
--- /dev/null
+++ b/audio/jxm/pkg-plist
@@ -0,0 +1,2 @@
+share/java/classes/jxm.jar
+bin/jxm