aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bug-buddy
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bug-buddy')
-rw-r--r--devel/bug-buddy/Makefile7
-rw-r--r--devel/bug-buddy/pkg-plist2
2 files changed, 7 insertions, 2 deletions
diff --git a/devel/bug-buddy/Makefile b/devel/bug-buddy/Makefile
index e20ffcdaceb0..f06ccc438678 100644
--- a/devel/bug-buddy/Makefile
+++ b/devel/bug-buddy/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bugbuddy
PORTVERSION= 2.8.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/bug-buddy/2.8
@@ -23,7 +23,7 @@ INSTALLS_OMF= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=15
-USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop
+USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop desktopfileutils
GNOME_DESKTOP_VERSION=2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -31,4 +31,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= bug-buddy.1
GCONF_SCHEMAS= bug-buddy.schemas
+post-install:
+ @-update-desktop-database > /dev/null
+
.include <bsd.port.mk>
diff --git a/devel/bug-buddy/pkg-plist b/devel/bug-buddy/pkg-plist
index 446cef24a643..cd4e2b3e301c 100644
--- a/devel/bug-buddy/pkg-plist
+++ b/devel/bug-buddy/pkg-plist
@@ -2,6 +2,7 @@ bin/bug-buddy
share/gnome/application-registry/bug-buddy.applications
share/gnome/applications/bug-buddy-core.desktop
share/gnome/applications/bug-buddy.desktop
+@exec update-desktop-database > /dev/null || /usr/bin/true
share/gnome/bug-buddy/bug-buddy.glade
share/gnome/bug-buddy/bug-buddy.png
share/gnome/bug-buddy/bugzilla/gnome.bugzilla
@@ -91,3 +92,4 @@ share/locale/zh_TW/LC_MESSAGES/bug-buddy.mo
@dirrm share/gnome/bug-buddy/bugzilla/gnome
@dirrm share/gnome/bug-buddy/bugzilla
@dirrm share/gnome/bug-buddy
+@unexec update-desktop-database > /dev/null || /usr/bin/true