aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bug-buddy
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-02-10 08:07:39 +0800
committermezz <mezz@FreeBSD.org>2005-02-10 08:07:39 +0800
commit00d6df7d64528912a3f8ce30f146cb996fce67d2 (patch)
tree4db7eb2c40f44821a9e2dce4ae9137dd3a23f4a6 /devel/bug-buddy
parenta386a3d76a0a8c0c72a3f37d6866a0a8019a6f57 (diff)
downloadfreebsd-ports-gnome-00d6df7d64528912a3f8ce30f146cb996fce67d2.tar.gz
freebsd-ports-gnome-00d6df7d64528912a3f8ce30f146cb996fce67d2.tar.zst
freebsd-ports-gnome-00d6df7d64528912a3f8ce30f146cb996fce67d2.zip
Add manual to update the mimetype database, it seems like GNOME developers
have removed the auto-update mimetype database for some reason. Maybe, they have forgotten about it or else... Reviewed by: marcus
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