aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2009-05-11 20:23:00 +0800
committermezz <mezz@FreeBSD.org>2009-05-11 20:23:00 +0800
commitaf7ac457c06fab7e52ecfed5cf030bc91c73f852 (patch)
tree45f8f56b7ae5694a6685bc1361cd6c693147322d /misc
parentb0c6580402b2debcb6c937a7709cb74340e508b8 (diff)
downloadfreebsd-ports-gnome-af7ac457c06fab7e52ecfed5cf030bc91c73f852.tar.gz
freebsd-ports-gnome-af7ac457c06fab7e52ecfed5cf030bc91c73f852.tar.zst
freebsd-ports-gnome-af7ac457c06fab7e52ecfed5cf030bc91c73f852.zip
Restore the %%MIMEDIRS%% to respect the paths, bump the PORTREVISION.
PR: ports/134449 Submitted by: Tim Bishop <tim@bishnet.net>
Diffstat (limited to 'misc')
-rw-r--r--misc/shared-mime-info/Makefile1
-rw-r--r--misc/shared-mime-info/files/patch-Makefile.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile
index 1f32bcf32f78..2cae46c32d06 100644
--- a/misc/shared-mime-info/Makefile
+++ b/misc/shared-mime-info/Makefile
@@ -8,6 +8,7 @@
PORTNAME= shared-mime-info
PORTVERSION= 0.60
+PORTREVISION= 1
CATEGORIES= misc gnome
MASTER_SITES= http://people.freedesktop.org/~hadess/
diff --git a/misc/shared-mime-info/files/patch-Makefile.in b/misc/shared-mime-info/files/patch-Makefile.in
index 7e8bcb090c74..2e09d6c41c89 100644
--- a/misc/shared-mime-info/files/patch-Makefile.in
+++ b/misc/shared-mime-info/files/patch-Makefile.in
@@ -5,7 +5,7 @@
install-data-hook:
-@ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" -V "$(DESTDIR)$(datadir)/mime"
-+@ENABLE_UPDATE_MIMEDB_TRUE@ for mdir in /usr/local/share/mime /usr/local/gnome2/shared-mime-info/share/mime; do \
++@ENABLE_UPDATE_MIMEDB_TRUE@ for mdir in %%MIMEDIRS%%; do \
+@ENABLE_UPDATE_MIMEDB_TRUE@ if [ -d $${mdir} ]; then \
+@ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" "$${mdir}" ; \
+@ENABLE_UPDATE_MIMEDB_TRUE@ fi; \