summaryrefslogtreecommitdiff
path: root/audio/applerecords
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2004-06-06 07:20:12 +0000
committeragc <agc@pkgsrc.org>2004-06-06 07:20:12 +0000
commit65a41377b7c57904b6a808ec1c74d700db14c487 (patch)
tree3d0b715b34ec380e8d162d5d90bc741a36ead5e7 /audio/applerecords
parent06cd52714a88c4326b345b4767ae272a25dee91e (diff)
downloadpkgsrc-65a41377b7c57904b6a808ec1c74d700db14c487.tar.gz
Initial import of applerecords-0.4 into the Packages Collection.
AppleRecords is a pure Java DAAP client, meaning it can stream songs from DAAP servers, including Apple iTunes 4 and 4.5 for Windows and Mac OS X. It should run on most operating systems that have a modern Java Runtime Environment.
Diffstat (limited to 'audio/applerecords')
-rw-r--r--audio/applerecords/DESCR5
-rw-r--r--audio/applerecords/Makefile28
-rw-r--r--audio/applerecords/PLIST4
-rw-r--r--audio/applerecords/distinfo4
-rwxr-xr-xaudio/applerecords/files/applerecords5
5 files changed, 46 insertions, 0 deletions
diff --git a/audio/applerecords/DESCR b/audio/applerecords/DESCR
new file mode 100644
index 00000000000..4a02d66694d
--- /dev/null
+++ b/audio/applerecords/DESCR
@@ -0,0 +1,5 @@
+AppleRecords is a pure Java DAAP client, meaning it can stream songs
+from DAAP servers, including Apple iTunes 4 and 4.5 for Windows and
+Mac OS X. It should run on most operating systems that have a modern
+Java Runtime Environment, including Linux, Solaris, Mac OS X, and
+Windows.
diff --git a/audio/applerecords/Makefile b/audio/applerecords/Makefile
new file mode 100644
index 00000000000..fd1937835b2
--- /dev/null
+++ b/audio/applerecords/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/06 07:20:12 agc Exp $
+#
+
+DISTNAME= applerecords
+PKGNAME= applerecords-0.4
+CATEGORIES= audio
+MASTER_SITES= http://www.cdavies.org/code/
+EXTRACT_SUFX= .jar
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.cdavies.org/applerecords.html
+COMMENT= Java DAAP client
+
+DIST_SUBDIR= ${PKGNAME}
+NO_BUILD= # defined
+WRKSRC= ${WRKDIR}
+USE_JAVA= run
+
+do-extract:
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/applerecords.jar ${WRKSRC}
+ ${SED} -e 's|@SH@|${SH}|g' -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/applerecords > ${WRKSRC}/applerecords
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/applerecords
+ ${INSTALL_DATA} ${WRKSRC}/applerecords.jar ${PREFIX}/lib/applerecords/applerecords.jar
+ ${INSTALL_SCRIPT} ${WRKSRC}/applerecords ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/applerecords/PLIST b/audio/applerecords/PLIST
new file mode 100644
index 00000000000..bb89a7961b7
--- /dev/null
+++ b/audio/applerecords/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/06 07:20:12 agc Exp $
+bin/applerecords
+lib/applerecords/applerecords.jar
+@dirrm lib/applerecords
diff --git a/audio/applerecords/distinfo b/audio/applerecords/distinfo
new file mode 100644
index 00000000000..12a6b3da6f4
--- /dev/null
+++ b/audio/applerecords/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/06/06 07:20:12 agc Exp $
+
+SHA1 (applerecords-0.4/applerecords.jar) = d6f5b096af8c48e4532e2b0c4d76b825c406b842
+Size (applerecords-0.4/applerecords.jar) = 296053 bytes
diff --git a/audio/applerecords/files/applerecords b/audio/applerecords/files/applerecords
new file mode 100755
index 00000000000..b53daf58022
--- /dev/null
+++ b/audio/applerecords/files/applerecords
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+ulimit -d 524288
+
+exec java -jar @PREFIX@/lib/applerecords/applerecords.jar