aboutsummaryrefslogtreecommitdiff
path: root/misc/shared-mime-info
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2009-05-11 12:23:00 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2009-05-11 12:23:00 +0000
commitf351847c006339b6155247b5cd1f75b1a33e5568 (patch)
tree1868dbc27d821da895886820015bf7efac450067 /misc/shared-mime-info
parent039296746bfd1be49f28a9132544d98fc0b79e6b (diff)
downloadports-f351847c006339b6155247b5cd1f75b1a33e5568.tar.gz
ports-f351847c006339b6155247b5cd1f75b1a33e5568.zip
Restore the %%MIMEDIRS%% to respect the paths, bump the PORTREVISION.
PR: ports/134449 Submitted by: Tim Bishop <tim@bishnet.net>
Notes
Notes: svn path=/head/; revision=233695
Diffstat (limited to 'misc/shared-mime-info')
-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; \