aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-08 13:01:35 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-08 13:01:35 +0000
commit4e6f35def1efe80ffe3c1e7e3f40c9e30ab62dd7 (patch)
treee6f40d634887ca6647cc1222f6c22bbbd7d9a28c /audio
parent7d2940c8a4a1b42c095b32ec607cac7753a1a2e3 (diff)
downloadports-4e6f35def1efe80ffe3c1e7e3f40c9e30ab62dd7.tar.gz
ports-4e6f35def1efe80ffe3c1e7e3f40c9e30ab62dd7.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/slimserver-lastfm/Makefile34
-rw-r--r--audio/slimserver-lastfm/distinfo3
-rw-r--r--audio/slimserver-lastfm/pkg-descr5
-rw-r--r--audio/slimserver-lastfm/pkg-plist7
5 files changed, 50 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index ddd090ba4e90..7e907e9224c5 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -452,6 +452,7 @@
SUBDIR += sidplayer
SUBDIR += simplemod
SUBDIR += slimserver
+ SUBDIR += slimserver-lastfm
SUBDIR += snack
SUBDIR += snd
SUBDIR += snowstar
diff --git a/audio/slimserver-lastfm/Makefile b/audio/slimserver-lastfm/Makefile
new file mode 100644
index 000000000000..f3304192f3bd
--- /dev/null
+++ b/audio/slimserver-lastfm/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: slimserver-lastfm
+# Date created: 2005-12-31
+# Whom: freebsd-ports@varju.ca
+#
+# $FreeBSD$
+
+PORTNAME= lastfm
+PORTVERSION= 1.1.3
+CATEGORIES= audio
+MASTER_SITES= http://petherton.pwp.blueyonder.co.uk/SlimServer/
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= slimserver-
+DISTNAME= LastFM${DISTVERSION:S/.//g}
+
+MAINTAINER= freebsd-ports@varju.ca
+COMMENT= SlimServer plugin for playing last.fm radio
+
+RUN_DEPENDS= ${LOCALBASE}/bin/softsqueeze:${PORTSDIR}/audio/slimserver \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+
+USE_ZIP= yes
+WRKSRC= LastFM
+NO_BUILD= yes
+CPIOARGS= --quiet -pdum -R
+
+SLIMDIR?= slimserver
+PLIST_SUB+= SLIMDIR=${SLIMDIR}
+
+do-install:
+ @cd ${WRKDIR} && \
+ ${FIND} LastFM | \
+ ${CPIO} ${CPIOARGS} ${BINOWN}:${BINGRP} ${PREFIX}/${SLIMDIR}/Plugins
+
+.include <bsd.port.mk>
diff --git a/audio/slimserver-lastfm/distinfo b/audio/slimserver-lastfm/distinfo
new file mode 100644
index 000000000000..c59647ec9fbd
--- /dev/null
+++ b/audio/slimserver-lastfm/distinfo
@@ -0,0 +1,3 @@
+MD5 (LastFM113.zip) = 3a69762ffba85a9e337b023b80f1834b
+SHA256 (LastFM113.zip) = 091900fdc9ddcc50418b24f5d745286f457db4097e152b2b06e1dcf7e8ccf74e
+SIZE (LastFM113.zip) = 12133
diff --git a/audio/slimserver-lastfm/pkg-descr b/audio/slimserver-lastfm/pkg-descr
new file mode 100644
index 000000000000..67bb35b73f06
--- /dev/null
+++ b/audio/slimserver-lastfm/pkg-descr
@@ -0,0 +1,5 @@
+This is a SlimServer plug-in to listen to a LastFM internet radio
+stream, send feedback on the currently playing track and change
+stations.
+
+WWW: http://www.jamescraig.co.uk/SlimServer/#LastFM
diff --git a/audio/slimserver-lastfm/pkg-plist b/audio/slimserver-lastfm/pkg-plist
new file mode 100644
index 000000000000..b4a1d9d203c2
--- /dev/null
+++ b/audio/slimserver-lastfm/pkg-plist
@@ -0,0 +1,7 @@
+%%SLIMDIR%%/Plugins/LastFM/HTML/EN/plugins/LastFM/index.html
+%%SLIMDIR%%/Plugins/LastFM/Plugin.pm
+@dirrm %%SLIMDIR%%/Plugins/LastFM/HTML/EN/plugins/LastFM
+@dirrm %%SLIMDIR%%/Plugins/LastFM/HTML/EN/plugins
+@dirrm %%SLIMDIR%%/Plugins/LastFM/HTML/EN
+@dirrm %%SLIMDIR%%/Plugins/LastFM/HTML
+@dirrm %%SLIMDIR%%/Plugins/LastFM