aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2011-04-13 18:48:42 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2011-04-13 18:48:42 +0000
commit170e17a8c02c764b7b590b3b18e8ba621eccb401 (patch)
tree2785b1dcf9b3dd9fcb1e6cd075e556621acadcec
parent4056696b85a762f56660bc562c66a5f03a520c15 (diff)
downloadports-170e17a8c02c764b7b590b3b18e8ba621eccb401.tar.gz
ports-170e17a8c02c764b7b590b3b18e8ba621eccb401.zip
Fix a screw-up I introduced when I revved s-m-i a while ago.
Reported by: kwm
Notes
Notes: svn path=/head/; revision=272686
-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 0f589a05a1ee..ad68990a5baa 100644
--- a/misc/shared-mime-info/Makefile
+++ b/misc/shared-mime-info/Makefile
@@ -8,6 +8,7 @@
PORTNAME= shared-mime-info
PORTVERSION= 0.80
+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 dfe0584da5d5..aa974de433ac 100644
--- a/misc/shared-mime-info/files/patch-Makefile.in
+++ b/misc/shared-mime-info/files/patch-Makefile.in
@@ -4,7 +4,7 @@
install-data-hook: install-binPROGRAMS
@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/loca/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" -V "$${mdir}" ; \
+@ENABLE_UPDATE_MIMEDB_TRUE@ fi; \