aboutsummaryrefslogtreecommitdiff
path: root/audio/jxm
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2004-03-08 07:24:58 +0000
committerNick Sayer <nsayer@FreeBSD.org>2004-03-08 07:24:58 +0000
commita8ede732b5ff24ec8f8e55b5fc1eba55ad4f3d11 (patch)
treec23e1c76328f2a7ee9fc0ee053bee396261b4c3f /audio/jxm
parent98f4274880e102ac0a2c18ab45ede542c812077b (diff)
downloadports-a8ede732b5ff24ec8f8e55b5fc1eba55ad4f3d11.tar.gz
ports-a8ede732b5ff24ec8f8e55b5fc1eba55ad4f3d11.zip
Notes
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 000000000000..5d7da1e60d0e
--- /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 000000000000..866103662d21
--- /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 000000000000..cbd5863fa389
--- /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 000000000000..8f2b59ad8c1f
--- /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 000000000000..de173aaa3c2f
--- /dev/null
+++ b/audio/jxm/pkg-plist
@@ -0,0 +1,2 @@
+share/java/classes/jxm.jar
+bin/jxm