Date: Mon, 25 Mar 2013 08:20:01 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/154352: commit references a PR Message-ID: <201303250820.r2P8K12D074047@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/154352; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/154352: commit references a PR Date: Mon, 25 Mar 2013 08:19:21 +0000 (UTC) Author: bsam Date: Mon Mar 25 08:19:08 2013 New Revision: 315201 URL: http://svnweb.freebsd.org/changeset/ports/315201 Log: . make use of the ports infrastructure to create the desktop file; . update the desktop file database at install/deinstall time. PR: ports/154352 Submitted by: bsam (me) Approved by: Chris Petrik <c.petrik.sosa@gmail.com> (maintainer) Modified: head/multimedia/xmms/Makefile head/multimedia/xmms/pkg-plist Modified: head/multimedia/xmms/Makefile ============================================================================== --- head/multimedia/xmms/Makefile Mon Mar 25 08:02:47 2013 (r315200) +++ head/multimedia/xmms/Makefile Mon Mar 25 08:19:08 2013 (r315201) @@ -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 audi 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> Modified: head/multimedia/xmms/pkg-plist ============================================================================== --- head/multimedia/xmms/pkg-plist Mon Mar 25 08:02:47 2013 (r315200) +++ head/multimedia/xmms/pkg-plist Mon Mar 25 08:19:08 2013 (r315201) @@ -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 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303250820.r2P8K12D074047>