From 5b6f8042df9069dc23441d2724f5c1b346eaac71 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Thu, 10 Feb 2005 00:07:39 +0000 Subject: 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 --- devel/bug-buddy/Makefile | 7 +++++-- devel/bug-buddy/pkg-plist | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'devel/bug-buddy') 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 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 -- cgit v1.2.3