aboutsummaryrefslogtreecommitdiff
path: root/audio/last.fm
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-02-16 21:50:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-02-16 21:50:09 +0000
commitdc0a71992a48d2273ae4b4541d73f30948ad4350 (patch)
treeb165054b4a7c41a11bc491e4774f68ec9135d6e7 /audio/last.fm
parentd67073f3d65c71c3ea0a3f4915edeb8115ee4fe5 (diff)
downloadports-dc0a71992a48d2273ae4b4541d73f30948ad4350.tar.gz
ports-dc0a71992a48d2273ae4b4541d73f30948ad4350.zip
Notes
Diffstat (limited to 'audio/last.fm')
-rw-r--r--audio/last.fm/Makefile4
-rw-r--r--audio/last.fm/files/last.fm.desktop20
-rw-r--r--audio/last.fm/pkg-plist2
3 files changed, 25 insertions, 1 deletions
diff --git a/audio/last.fm/Makefile b/audio/last.fm/Makefile
index 739d8820c2f7..e51902225bf9 100644
--- a/audio/last.fm/Makefile
+++ b/audio/last.fm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= last.fm
PORTVERSION= 1.3.2.14
+PORTREVISION= 1
CATEGORIES= audio net
MASTER_SITES= http://cdn.last.fm/client/src/
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@@ -47,7 +48,8 @@ post-build:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/last.fm ${PREFIX}/bin/last.fm
- ${MKDIR} ${PREFIX}/share/services
+ ${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/services
+ ${INSTALL_DATA} ${FILESDIR}/last.fm.desktop ${PREFIX}/share/applications
${INSTALL_DATA} ${FILESDIR}/lastfm.protocol ${PREFIX}/share/services
${MKDIR} ${DATADIR}
${CP} -Rp ${WRKSRC}/bin/* ${DATADIR}/
diff --git a/audio/last.fm/files/last.fm.desktop b/audio/last.fm/files/last.fm.desktop
new file mode 100644
index 000000000000..7a24e49aed61
--- /dev/null
+++ b/audio/last.fm/files/last.fm.desktop
@@ -0,0 +1,20 @@
+[Desktop Entry]
+Name=Client for the Last.fm network
+Name[de]=Client für das Last.fm-netzwerk
+Name[es]=Cliente para la red Last.fm
+Name[it]=Cliente per la rete di Last.fm
+Name[pt_BR]=Cliente para a rede Last.fm
+Name[pt_PT]=Cliente para a rede Last.fm
+Comment=Client for the Last.fm Network
+Comment[de]=Client für das Last.fm-Netzwerk
+Comment[es]=Cliente para la red Last.fm
+Comment[it]=Cliente per la rete di Last.fm
+Comment[pt_BR]=Cliente para a Rede Last.fm
+Comment[pt_PT]=Cliente para a Rede Last.fm
+Exec=last.fm
+Terminal=false
+Type=Application
+Encoding=UTF-8
+Icon=/usr/local/share/last.fm/data/icons/as.png
+Categories=AudioVideo;Player;Qt;
+StartupNotify=true
diff --git a/audio/last.fm/pkg-plist b/audio/last.fm/pkg-plist
index 0c51436bd15b..0cd9a9a8ae8c 100644
--- a/audio/last.fm/pkg-plist
+++ b/audio/last.fm/pkg-plist
@@ -108,8 +108,10 @@ bin/last.fm
%%DATADIR%%/services/libsrv_itunesdevice.so
%%DATADIR%%/services/libsrv_mp3transcode.so
%%DATADIR%%/services/libsrv_rtaudioplayback.so
+share/applications/last.fm.desktop
share/services/lastfm.protocol
@dirrmtry share/services
+@dirrmtry share/applications
@dirrm %%DATADIR%%/services
@dirrm %%DATADIR%%/extensions
@dirrm %%DATADIR%%/data/icons