From 0e7e087c350e9ce4886e9c5d8f8f3193f3268c6c Mon Sep 17 00:00:00 2001 From: beech Date: Sun, 28 Apr 2013 23:25:25 +0000 Subject: - Adjust dependencies for Desktop files - Add desktopfileutils PR: ports/177010 Submitted by: nemysis (maintainer) --- games/asteroid/Makefile | 4 ++-- games/asteroid/pkg-plist | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'games') 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 # $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 -- cgit