mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-13 03:51:18 +02:00
16 lines
766 B
Plaintext
16 lines
766 B
Plaintext
--- Makefile.in.orig 2009-02-23 00:08:21.000000000 -0500
|
|
+++ Makefile.in 2009-02-23 00:09:39.000000000 -0500
|
|
@@ -937,7 +937,11 @@ $(pkgconfig_DATA): config.status
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
install-data-hook:
|
|
-@ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" -V "$(DESTDIR)$(datadir)/mime"
|
|
+@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; \
|
|
+@ENABLE_UPDATE_MIMEDB_TRUE@ done
|
|
|
|
uninstall-hook:
|
|
for media in text application image audio inode video message model multipart x-epoc x-content; do rm -f "$(DESTDIR)$(datadir)/mime/$${media}/"*.xml; done
|