aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
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