aboutsummaryrefslogtreecommitdiffstats
path: root/audio/slimserver-lastfm
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-08 21:01:35 +0800
committeredwin <edwin@FreeBSD.org>2006-01-08 21:01:35 +0800
commitc393f48098b16403e11277e97ec040fe0c732cb1 (patch)
tree5758f07f98da7265af7b7280e66587f167695c92 /audio/slimserver-lastfm
parent43b7603c572eb6a9ec8882bff8c06e10d2762423 (diff)
downloadfreebsd-ports-gnome-c393f48098b16403e11277e97ec040fe0c732cb1.tar.gz
freebsd-ports-gnome-c393f48098b16403e11277e97ec040fe0c732cb1.tar.zst
freebsd-ports-gnome-c393f48098b16403e11277e97ec040fe0c732cb1.zip
[NEW PORT] audio/slimserver-lastfm: SlimServer plugin for playing last.fm radio
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 PR: ports/91469 Submitted by: Alex Varju <freebsd-ports@varju.ca>
Diffstat (limited to 'audio/slimserver-lastfm')
-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
4 files changed, 49 insertions, 0 deletions
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