aboutsummaryrefslogtreecommitdiff
path: root/games/asteroid
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2013-04-28 23:25:25 +0000
committerBeech Rintoul <beech@FreeBSD.org>2013-04-28 23:25:25 +0000
commiteb3016e9e8f1a03371a1e3180dbae1873492da56 (patch)
treee6a0aaf09034233285cdc14bb97458d2680bef09 /games/asteroid
parentf13ca3cae615e328536d5b1908c664567ab0de2e (diff)
Notes
Diffstat (limited to 'games/asteroid')
-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