aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xmms
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-12-02 21:15:33 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-12-02 21:15:33 +0000
commitff0c610f28553f16a5da481937e217a2f76e4d93 (patch)
tree03dc1af4eee73dc6652b83efd3cc4378198158c6 /multimedia/xmms
parent23de452a7d39d310fcfb75ad468b7ad4092330e0 (diff)
downloadports-ff0c610f28553f16a5da481937e217a2f76e4d93.tar.gz
ports-ff0c610f28553f16a5da481937e217a2f76e4d93.zip
Notes
Diffstat (limited to 'multimedia/xmms')
-rw-r--r--multimedia/xmms/Makefile9
-rw-r--r--multimedia/xmms/files/xmms.desktop.in10
-rw-r--r--multimedia/xmms/pkg-plist2
3 files changed, 18 insertions, 3 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile
index 89be41524ebd..63ec1abc5352 100644
--- a/multimedia/xmms/Makefile
+++ b/multimedia/xmms/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xmms
PORTVERSION= 1.2.11
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES+= multimedia audio ipv6
MASTER_SITES= http://www.xmms.org/files/1.2.x/ \
LOCAL/beech
@@ -32,7 +32,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
CONFIGURE_ARGS= --enable-static=no
MAN1= wmxmms.1 xmms.1
-SUB_FILES= pkg-message
+SUB_FILES= pkg-message xmms.desktop
CONFLICTS= ru-xmms-[0-9]*
@@ -157,9 +157,12 @@ post-patch:
.if ${HAVE_GNOME:Mesound}==""
${REINPLACE_CMD} -e '/AM_PATH_ESD/,/have_esd=no/d' ${WRKSRC}/configure.in
.endif
+ @${CP} ${FILESDIR}/xmms.desktop.in ${WRKSRC}/xmms.desktop
post-install:
- @${MKDIR} ${PREFIX}/share/xmms/Skins
+ @${INSTALL} -d ${PREFIX}/share/xmms/Skins
+ @${INSTALL} -d ${PREFIX}/share/applications
+ @${INSTALL_DATA} ${WRKSRC}/xmms.desktop ${PREFIX}/share/applications/
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/multimedia/xmms/files/xmms.desktop.in b/multimedia/xmms/files/xmms.desktop.in
new file mode 100644
index 000000000000..959593079acc
--- /dev/null
+++ b/multimedia/xmms/files/xmms.desktop.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Exec=xmms %U
+Icon=xmms
+GenericName=XMMS Player
+Comment=Audio Player
+Terminal=false
+Name=xmms
+MimeType=application/x-xmms
diff --git a/multimedia/xmms/pkg-plist b/multimedia/xmms/pkg-plist
index 7d7db026b2f4..5067eab152f5 100644
--- a/multimedia/xmms/pkg-plist
+++ b/multimedia/xmms/pkg-plist
@@ -29,6 +29,7 @@ lib/xmms/Output/libdisk_writer.so
lib/xmms/Visualization/libbscope.so
lib/xmms/Visualization/libsanalyzer.so
share/aclocal/xmms.m4
+share/applications/xmms.desktop
share/locale/af/LC_MESSAGES/xmms.mo
share/locale/az/LC_MESSAGES/xmms.mo
share/locale/be/LC_MESSAGES/xmms.mo
@@ -85,6 +86,7 @@ share/locale/wa/LC_MESSAGES/xmms.mo
share/locale/zh_CN/LC_MESSAGES/xmms.mo
share/locale/zh_TW/LC_MESSAGES/xmms.mo
%%DATADIR%%/wmxmms.xpm
+@dirrmtry share/applications
@dirrmtry %%DATADIR%%/Skins
@dirrm %%DATADIR%%
@dirrmtry lib/xmms/Visualization