1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Restore the %%MIMEDIRS%% to respect the paths, bump the PORTREVISION.

PR:		ports/134449
Submitted by:	Tim Bishop <tim@bishnet.net>
This commit is contained in:
Jeremy Messenger 2009-05-11 12:23:00 +00:00
parent 039296746b
commit f351847c00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233695
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= shared-mime-info
PORTVERSION= 0.60
PORTREVISION= 1
CATEGORIES= misc gnome
MASTER_SITES= http://people.freedesktop.org/~hadess/

View File

@ -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; \