From 170e17a8c02c764b7b590b3b18e8ba621eccb401 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 13 Apr 2011 18:48:42 +0000 Subject: Fix a screw-up I introduced when I revved s-m-i a while ago. Reported by: kwm --- misc/shared-mime-info/Makefile | 1 + misc/shared-mime-info/files/patch-Makefile.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'misc/shared-mime-info') 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; \ -- cgit v1.2.3