summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/gnome-control-center/Makefile5
-rw-r--r--sysutils/gnome-control-center/pkg-plist2
-rw-r--r--sysutils/gnomecontrolcenter2/Makefile5
-rw-r--r--sysutils/gnomecontrolcenter2/pkg-plist2
4 files changed, 12 insertions, 2 deletions
diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile
index 30481b8de..117d617b4 100644
--- a/sysutils/gnome-control-center/Makefile
+++ b/sysutils/gnome-control-center/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomecontrolcenter2
PORTVERSION= 2.9.91
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/control-center/2.9
@@ -44,4 +44,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|mozilla-thunderbird|thunderbird|g' \
${WRKSRC}/capplets/default-applications/gnome-default-applications-properties-structs.c
+post-install:
+ @-update-desktop-database
+
.include <bsd.port.mk>
diff --git a/sysutils/gnome-control-center/pkg-plist b/sysutils/gnome-control-center/pkg-plist
index 4ec453005..8787f4495 100644
--- a/sysutils/gnome-control-center/pkg-plist
+++ b/sysutils/gnome-control-center/pkg-plist
@@ -51,6 +51,7 @@ share/gnome/applications/keybinding.desktop
share/gnome/applications/keyboard.desktop
share/gnome/applications/themus-theme-applier.desktop
share/gnome/applications/window-properties.desktop
+@exec update-desktop-database > /dev/null || /usr/bin/true
share/gnome/control-center-2.0/icons/display-capplet.png
share/gnome/control-center-2.0/interfaces/acme.glade
share/gnome/control-center-2.0/interfaces/apply-font.glade
@@ -197,3 +198,4 @@ share/locale/zu/LC_MESSAGES/control-center-2.0.mo
@unexec rmdir %D/share/gnome/control-center-2.0/icons 2> /dev/null || true
@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 30481b8de..117d617b4 100644
--- a/sysutils/gnomecontrolcenter2/Makefile
+++ b/sysutils/gnomecontrolcenter2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomecontrolcenter2
PORTVERSION= 2.9.91
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/control-center/2.9
@@ -44,4 +44,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|mozilla-thunderbird|thunderbird|g' \
${WRKSRC}/capplets/default-applications/gnome-default-applications-properties-structs.c
+post-install:
+ @-update-desktop-database
+
.include <bsd.port.mk>
diff --git a/sysutils/gnomecontrolcenter2/pkg-plist b/sysutils/gnomecontrolcenter2/pkg-plist
index 4ec453005..8787f4495 100644
--- a/sysutils/gnomecontrolcenter2/pkg-plist
+++ b/sysutils/gnomecontrolcenter2/pkg-plist
@@ -51,6 +51,7 @@ share/gnome/applications/keybinding.desktop
share/gnome/applications/keyboard.desktop
share/gnome/applications/themus-theme-applier.desktop
share/gnome/applications/window-properties.desktop
+@exec update-desktop-database > /dev/null || /usr/bin/true
share/gnome/control-center-2.0/icons/display-capplet.png
share/gnome/control-center-2.0/interfaces/acme.glade
share/gnome/control-center-2.0/interfaces/apply-font.glade
@@ -197,3 +198,4 @@ share/locale/zu/LC_MESSAGES/control-center-2.0.mo
@unexec rmdir %D/share/gnome/control-center-2.0/icons 2> /dev/null || true
@dirrm lib/window-manager-settings
@dirrm include/gnome-window-settings-2.0
+@unexec update-desktop-database > /dev/null || /usr/bin/true