diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-03-18 05:04:36 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-03-18 05:04:36 +0000 |
commit | 6e6640218f686aa9e2fe5928a8c8df1e5110185c (patch) | |
tree | cee5b847b31778eb62037829c6ed8274a7a662ae | |
parent | 03f2da6c4e9a4bacbc1fceb9d4dc081b571f97e1 (diff) | |
download | ports-6e6640218f686aa9e2fe5928a8c8df1e5110185c.tar.gz ports-6e6640218f686aa9e2fe5928a8c8df1e5110185c.zip |
Notes
-rw-r--r-- | misc/shared-mime-info/Makefile | 3 | ||||
-rw-r--r-- | misc/shared-mime-info/pkg-plist | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile index f49c2abe3c64..3ad0374a6605 100644 --- a/misc/shared-mime-info/Makefile +++ b/misc/shared-mime-info/Makefile @@ -6,6 +6,7 @@ PORTNAME= shared-mime-info PORTVERSION= 0.17 +PORTREVISION= 1 CATEGORIES= misc gnome MASTER_SITES= http://www.marcuscom.com/downloads/ \ http://freedesktop.org/~hadess/ @@ -27,7 +28,7 @@ MIMEDIRS= ${X11BASE}/share/gnome/mime \ ${X11BASE}/share/mime \ ${LOCALBASE}/share/mime \ /usr/share/mime -MIMESUBDIRS= audio image inode message model multipart \ +MIMESUBDIRS= application audio image inode message model multipart \ packages text video post-patch: diff --git a/misc/shared-mime-info/pkg-plist b/misc/shared-mime-info/pkg-plist index ca518e6ae06a..cbf68d5ae8e4 100644 --- a/misc/shared-mime-info/pkg-plist +++ b/misc/shared-mime-info/pkg-plist @@ -455,6 +455,7 @@ share/mime/video/x-theora+ogg.xml @dirrmtry share/mime/image @dirrmtry share/mime/audio @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 @@ -471,4 +472,5 @@ share/mime/video/x-theora+ogg.xml @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 |