From ba5ebd56600396f7bdf2d2716c711cf73f6d0a09 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 22 Feb 2005 08:01:48 +0000 Subject: Gnomecontrolcenter2 now installs a desktop file for the gnome-font-viewer which contains MIME types. Therefore, run update-desktop-database during installation and einstallation. --- sysutils/gnome-control-center/Makefile | 4 ++++ sysutils/gnome-control-center/pkg-plist | 2 ++ sysutils/gnomecontrolcenter2/Makefile | 4 ++++ sysutils/gnomecontrolcenter2/pkg-plist | 2 ++ 4 files changed, 12 insertions(+) diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile index 6dac2f419326..f97663d3c88b 100644 --- a/sysutils/gnome-control-center/Makefile +++ b/sysutils/gnome-control-center/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnomecontrolcenter2 PORTVERSION= 2.8.2 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/control-center/2.8 @@ -41,4 +42,7 @@ post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|[{]prefix[}]/share/pixmaps|{datadir}/pixmaps|g' +post-install: + @-update-desktop-database + .include diff --git a/sysutils/gnome-control-center/pkg-plist b/sysutils/gnome-control-center/pkg-plist index e93c3fdffeaf..423c553037a3 100644 --- a/sysutils/gnome-control-center/pkg-plist +++ b/sysutils/gnome-control-center/pkg-plist @@ -40,6 +40,7 @@ share/gnome/application-registry/fontilus.applications share/gnome/application-registry/themus.applications share/gnome/applications/gnome-font-viewer.desktop share/gnome/applications/gnomecc.desktop +@exec update-desktop-database > /dev/null || /usr/bin/true share/gnome/control-center-2.0/capplets/accessibility-keyboard.desktop share/gnome/control-center-2.0/capplets/at-properties.desktop share/gnome/control-center-2.0/capplets/background.desktop @@ -212,3 +213,4 @@ share/locale/zu/LC_MESSAGES/control-center-2.0.mo @dirrm share/gnome/control-center-2.0/icons @dirrm lib/window-manager-settings @dirrm include/gnome-window-settings-2.0 +@unexec update-desktop-database > /dev/null || /usr/bin/true diff --git a/sysutils/gnomecontrolcenter2/Makefile b/sysutils/gnomecontrolcenter2/Makefile index 6dac2f419326..f97663d3c88b 100644 --- a/sysutils/gnomecontrolcenter2/Makefile +++ b/sysutils/gnomecontrolcenter2/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnomecontrolcenter2 PORTVERSION= 2.8.2 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/control-center/2.8 @@ -41,4 +42,7 @@ post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|[{]prefix[}]/share/pixmaps|{datadir}/pixmaps|g' +post-install: + @-update-desktop-database + .include diff --git a/sysutils/gnomecontrolcenter2/pkg-plist b/sysutils/gnomecontrolcenter2/pkg-plist index e93c3fdffeaf..423c553037a3 100644 --- a/sysutils/gnomecontrolcenter2/pkg-plist +++ b/sysutils/gnomecontrolcenter2/pkg-plist @@ -40,6 +40,7 @@ share/gnome/application-registry/fontilus.applications share/gnome/application-registry/themus.applications share/gnome/applications/gnome-font-viewer.desktop share/gnome/applications/gnomecc.desktop +@exec update-desktop-database > /dev/null || /usr/bin/true share/gnome/control-center-2.0/capplets/accessibility-keyboard.desktop share/gnome/control-center-2.0/capplets/at-properties.desktop share/gnome/control-center-2.0/capplets/background.desktop @@ -212,3 +213,4 @@ share/locale/zu/LC_MESSAGES/control-center-2.0.mo @dirrm share/gnome/control-center-2.0/icons @dirrm lib/window-manager-settings @dirrm include/gnome-window-settings-2.0 +@unexec update-desktop-database > /dev/null || /usr/bin/true -- cgit