aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/gnome-control-center/Makefile4
-rw-r--r--sysutils/gnome-control-center/pkg-plist2
-rw-r--r--sysutils/gnomecontrolcenter2/Makefile4
-rw-r--r--sysutils/gnomecontrolcenter2/pkg-plist2
4 files changed, 12 insertions, 0 deletions
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 <bsd.port.mk>
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 <bsd.port.mk>
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