aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xmms
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-03-25 08:19:08 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-03-25 08:19:08 +0000
commitbe8f3db69fa3dcf123954ae3244339c09c5cc11d (patch)
tree6d1d9d9b8b441e9d892aef5339a8099ace0cbcef /multimedia/xmms
parente75961dd5b0e45d824b041187c3312c29378b216 (diff)
downloadports-be8f3db69fa3dcf123954ae3244339c09c5cc11d.tar.gz
ports-be8f3db69fa3dcf123954ae3244339c09c5cc11d.zip
Notes
Diffstat (limited to 'multimedia/xmms')
-rw-r--r--multimedia/xmms/Makefile8
-rw-r--r--multimedia/xmms/pkg-plist2
2 files changed, 6 insertions, 4 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile
index 972aa1d775ae..e712e7300f04 100644
--- a/multimedia/xmms/Makefile
+++ b/multimedia/xmms/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xmms
PORTVERSION= 1.2.11
-PORTREVISION= 17
+PORTREVISION= 18
CATEGORIES+= multimedia audio ipv6
MASTER_SITES= http://www.xmms.org/files/1.2.x/ \
http://legacy.xmms2.org/ \
@@ -15,7 +15,7 @@ COMMENT?= X Multimedia System -- An audio player with Winamp GUI
USE_BZIP2= yes
USE_GL= gl
-USE_GNOME= gtk12 gnomehack
+USE_GNOME= desktopfileutils gtk12 gnomehack
USE_GMAKE= yes
USE_GETTEXT= yes
USE_ICONV= yes
@@ -155,7 +155,6 @@ 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-configure:
@${FIND} ${WRKSRC} -name Makefile | \
@@ -164,7 +163,8 @@ post-configure:
post-install:
@${INSTALL} -d ${PREFIX}/share/xmms/Skins
@${INSTALL} -d ${PREFIX}/share/applications
- @${INSTALL_DATA} ${WRKSRC}/xmms.desktop ${PREFIX}/share/applications/
+ @${INSTALL_DATA} ${WRKDIR}/xmms.desktop ${PREFIX}/share/applications/
+ -update-desktop-database
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/multimedia/xmms/pkg-plist b/multimedia/xmms/pkg-plist
index 5067eab152f5..75ac6e9ab040 100644
--- a/multimedia/xmms/pkg-plist
+++ b/multimedia/xmms/pkg-plist
@@ -98,3 +98,5 @@ share/locale/zh_TW/LC_MESSAGES/xmms.mo
@dirrm include/xmms
@exec mkdir -p %D/share/xmms/Skins
@unexec echo "If you are permanently removing xmms, do not forget to remove skin files left under %D/share/xmms/Skins. Use \`\`rm -Rf %D/share/xmms/Skins; rmdir %D/share/xmms''" | fmt
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true