diff options
author | marcus <marcus@FreeBSD.org> | 2007-04-27 03:09:22 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2007-04-27 03:09:22 +0800 |
commit | 3840efdf169c9db12e1d02043760a48387387ff1 (patch) | |
tree | 067617e51e2b76b4defb6acf0dcd30e6af6e4e38 /misc/shared-mime-info | |
parent | 4254239ba9c40be2c3de85f468190e23a87330a7 (diff) | |
download | freebsd-ports-gnome-3840efdf169c9db12e1d02043760a48387387ff1.tar.gz freebsd-ports-gnome-3840efdf169c9db12e1d02043760a48387387ff1.tar.zst freebsd-ports-gnome-3840efdf169c9db12e1d02043760a48387387ff1.zip |
Correct MIME dirs in patch.
Diffstat (limited to 'misc/shared-mime-info')
-rw-r--r-- | misc/shared-mime-info/Makefile | 1 | ||||
-rw-r--r-- | misc/shared-mime-info/files/patch-Makefile.in | 11 |
2 files changed, 2 insertions, 10 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile index 83f17518e5ca..f30729e95acd 100644 --- a/misc/shared-mime-info/Makefile +++ b/misc/shared-mime-info/Makefile @@ -6,6 +6,7 @@ PORTNAME= shared-mime-info PORTVERSION= 0.21 +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 d32435f436f9..8cceb5b6ec95 100644 --- a/misc/shared-mime-info/files/patch-Makefile.in +++ b/misc/shared-mime-info/files/patch-Makefile.in @@ -1,20 +1,11 @@ --- Makefile.in.orig Sat Feb 10 04:50:08 2007 +++ Makefile.in Sat Feb 10 04:52:30 2007 -@@ -251,7 +251,7 @@ EXTRA_DIST = \ - - CLEANFILES = freedesktop.org.xml po/stamp-it - DISTCLEANFILES = intltool-extract intltool-merge intltool-update --pkgconfigdir = $(datadir)/pkgconfig -+pkgconfigdir = $(prefix)/libdata/pkgconfig - pkgconfig_DATA = shared-mime-info.pc - all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive @@ -871,7 +871,11 @@ $(pkgconfig_DATA): config.status @INTLTOOL_DESKTOP_RULE@ install-data-hook: -@ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" -V "$(DESTDIR)$(prefix)/share/mime" -+@ENABLE_UPDATE_MIMEDB_TRUE@ for mdir in /usr/X11R6/share/gnome/mime /usr/local/share/gnome/mime /usr/X11R6/share/mime /usr/local/share/mime /usr/local/gnome2/shared-mime-info/share/mime /usr/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; \ |