aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-02-22 16:01:48 +0800
committermarcus <marcus@FreeBSD.org>2005-02-22 16:01:48 +0800
commitba5ebd56600396f7bdf2d2716c711cf73f6d0a09 (patch)
treef15af9c0af64981734a213eb996a785d6ba3efae
parent40036eac65cfc3697dacc583c05ef4fc209d4a84 (diff)
downloadfreebsd-ports-gnome-ba5ebd56600396f7bdf2d2716c711cf73f6d0a09.tar.gz
freebsd-ports-gnome-ba5ebd56600396f7bdf2d2716c711cf73f6d0a09.tar.zst
freebsd-ports-gnome-ba5ebd56600396f7bdf2d2716c711cf73f6d0a09.zip
Gnomecontrolcenter2 now installs a desktop file for the gnome-font-viewer
which contains MIME types. Therefore, run update-desktop-database during installation and einstallation.
-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