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