aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2013-04-29 07:25:25 +0800
committerbeech <beech@FreeBSD.org>2013-04-29 07:25:25 +0800
commit0e7e087c350e9ce4886e9c5d8f8f3193f3268c6c (patch)
treee6a0aaf09034233285cdc14bb97458d2680bef09 /games
parenta2d5d2967ce16f19d469745321c870dc427e9e8f (diff)
downloadfreebsd-ports-gnome-0e7e087c350e9ce4886e9c5d8f8f3193f3268c6c.tar.gz
freebsd-ports-gnome-0e7e087c350e9ce4886e9c5d8f8f3193f3268c6c.tar.zst
freebsd-ports-gnome-0e7e087c350e9ce4886e9c5d8f8f3193f3268c6c.zip
- Adjust dependencies for Desktop files
- Add desktopfileutils PR: ports/177010 Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/asteroid/Makefile4
-rw-r--r--games/asteroid/pkg-plist2
2 files changed, 4 insertions, 2 deletions
diff --git a/games/asteroid/Makefile b/games/asteroid/Makefile
index ed89840a8710..59db24b5f789 100644
--- a/games/asteroid/Makefile
+++ b/games/asteroid/Makefile
@@ -1,4 +1,4 @@
-# Created by: nemysis@gmx.ch
+# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$
PORTNAME= asteroid
@@ -18,7 +18,7 @@ GH_COMMIT= 6d23595
USE_GL= glut
USE_SDL= mixer sdl
-USE_GNOME= gtk20
+USE_GNOME= desktopfileutils gtk20
USE_XORG= xmu
INSTALLS_ICONS= yes
USES= cmake
diff --git a/games/asteroid/pkg-plist b/games/asteroid/pkg-plist
index c25587c8b272..55dd61ebef94 100644
--- a/games/asteroid/pkg-plist
+++ b/games/asteroid/pkg-plist
@@ -18,3 +18,5 @@ share/icons/hicolor/scalable/apps/asteroid.svg
@dirrm %%DATADIR%%/gfx
@dirrm %%DATADIR%%
@dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true