diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-30 12:26:58 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-30 12:26:58 +0800 |
commit | 63986bab736ad1046268e7ae4786ad96abf3a26b (patch) | |
tree | bed906b43e3252ac36115649f184202fbd853c82 /misc | |
parent | 78528de43298daf57dd78edf92bdf16d3f5c2bbb (diff) | |
download | marcuscom-ports-63986bab736ad1046268e7ae4786ad96abf3a26b.tar marcuscom-ports-63986bab736ad1046268e7ae4786ad96abf3a26b.tar.gz marcuscom-ports-63986bab736ad1046268e7ae4786ad96abf3a26b.tar.bz2 marcuscom-ports-63986bab736ad1046268e7ae4786ad96abf3a26b.tar.lz marcuscom-ports-63986bab736ad1046268e7ae4786ad96abf3a26b.tar.xz marcuscom-ports-63986bab736ad1046268e7ae4786ad96abf3a26b.tar.zst marcuscom-ports-63986bab736ad1046268e7ae4786ad96abf3a26b.zip |
Get rid of X11BASE from plist. While I am here, fix patch-Makefile.in by
put %%MIMEDIRS%% in it instead of multi-path.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8940 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc')
-rw-r--r-- | misc/shared-mime-info/Makefile | 3 | ||||
-rw-r--r-- | misc/shared-mime-info/files/patch-Makefile.in | 2 | ||||
-rw-r--r-- | misc/shared-mime-info/pkg-plist | 27 |
3 files changed, 3 insertions, 29 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile index 27766476e..262bf8188 100644 --- a/misc/shared-mime-info/Makefile +++ b/misc/shared-mime-info/Makefile @@ -3,7 +3,8 @@ # Whom: olgeni@FreeBSD.org # # $FreeBSD$ -# $MCom: ports/misc/shared-mime-info/Makefile,v 1.6 2007/05/19 21:53:14 marcus Exp $ +# $MCom: ports/misc/shared-mime-info/Makefile,v 1.7 2007/05/19 21:54:52 marcus Exp $ +# PORTNAME= shared-mime-info PORTVERSION= 0.21 diff --git a/misc/shared-mime-info/files/patch-Makefile.in b/misc/shared-mime-info/files/patch-Makefile.in index 4a6a2643e..87fc8e270 100644 --- a/misc/shared-mime-info/files/patch-Makefile.in +++ b/misc/shared-mime-info/files/patch-Makefile.in @@ -14,7 +14,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/X11R6/share/mime /usr/local/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; \ diff --git a/misc/shared-mime-info/pkg-plist b/misc/shared-mime-info/pkg-plist index a34c91b47..70daa6e96 100644 --- a/misc/shared-mime-info/pkg-plist +++ b/misc/shared-mime-info/pkg-plist @@ -1,13 +1,3 @@ -@exec mkdir -p %%X11BASE%%/share/mime/application -@exec mkdir -p %%X11BASE%%/share/mime/audio -@exec mkdir -p %%X11BASE%%/share/mime/image -@exec mkdir -p %%X11BASE%%/share/mime/inode -@exec mkdir -p %%X11BASE%%/share/mime/message -@exec mkdir -p %%X11BASE%%/share/mime/model -@exec mkdir -p %%X11BASE%%/share/mime/multipart -@exec mkdir -p %%X11BASE%%/share/mime/packages -@exec mkdir -p %%X11BASE%%/share/mime/text -@exec mkdir -p %%X11BASE%%/share/mime/video bin/update-mime-database libdata/pkgconfig/shared-mime-info.pc @unexec [ -f %D/share/mime/XMLnamespaces ] && rm -f %D/share/mime/XMLnamespaces || true @@ -560,20 +550,3 @@ share/mime/video/x-theora+ogg.xml @dirrmtry share/mime/application @unexec [ -f %D/share/mime/mime.cache ] && rm -f %D/share/mime/mime.cache || true @dirrmtry share/mime -@unexec [ -f %%X11BASE%%/share/mime/XMLnamespaces ] && rm -f %%X11BASE%%/share/mime/XMLnamespaces || true -@unexec [ -f %%X11BASE%%/share/mime/globs ] && rm -f %%X11BASE%%/share/mime/globs || true -@unexec [ -f %%X11BASE%%/share/mime/magic ] && rm -f %%X11BASE%%/share/mime/magic || true -@unexec [ -f %%X11BASE%%/share/mime/aliases ] && rm -f %%X11BASE%%/share/mime/aliases || true -@unexec [ -f %%X11BASE%%/share/mime/subclasses ] && rm -f %%X11BASE%%/share/mime/subclasses || true -@unexec rmdir %%X11BASE%%/share/mime/video 2>/dev/null || true -@unexec rmdir %%X11BASE%%/share/mime/text 2>/dev/null || true -@unexec rmdir %%X11BASE%%/share/mime/packages 2>/dev/null || true -@unexec rmdir %%X11BASE%%/share/mime/multipart 2>/dev/null || true -@unexec rmdir %%X11BASE%%/share/mime/model 2>/dev/null || true -@unexec rmdir %%X11BASE%%/share/mime/message 2>/dev/null || true -@unexec rmdir %%X11BASE%%/share/mime/inode 2>/dev/null || true -@unexec rmdir %%X11BASE%%/share/mime/image 2>/dev/null || true -@unexec rmdir %%X11BASE%%/share/mime/audio 2>/dev/null || true -@unexec rmdir %%X11BASE%%/share/mime/application 2>/dev/null || true -@unexec [ -f %%X11BASE%%/share/mime/mime.cache ] && rm -f %%X11BASE%%/share/mime/mime.cache || true -@unexec rmdir %%X11BASE%%/share/mime 2>/dev/null || true |