summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/shared-mime-info/Makefile2
-rw-r--r--misc/shared-mime-info/pkg-plist26
2 files changed, 16 insertions, 12 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile
index 525078119e20..e67a14db6b04 100644
--- a/misc/shared-mime-info/Makefile
+++ b/misc/shared-mime-info/Makefile
@@ -6,7 +6,7 @@
PORTNAME= shared-mime-info
PORTVERSION= 0.15
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc gnome
MASTER_SITES= http://www.marcuscom.com/downloads/ \
http://www.freedesktop.org/software/shared-mime-info/
diff --git a/misc/shared-mime-info/pkg-plist b/misc/shared-mime-info/pkg-plist
index b8154eb6f248..aa7fc49cd67d 100644
--- a/misc/shared-mime-info/pkg-plist
+++ b/misc/shared-mime-info/pkg-plist
@@ -398,14 +398,18 @@ share/mime/video/x-sgi-movie.xml
@unexec rmdir %D/share/mime/audio 2>/dev/null || true
@unexec rmdir %D/share/mime/application 2>/dev/null || true
@unexec rmdir %D/share/mime 2>/dev/null || 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 rmdir %%X11BASE%%/share/mime 2>/dev/null || true
+@cwd %%X11BASE%%
+share/mime/XMLnamespaces
+share/mime/globs
+share/mime/magic
+@unexec rmdir %D/share/mime/video 2>/dev/null || true
+@unexec rmdir %D/share/mime/text 2>/dev/null || true
+@unexec rmdir %D/share/mime/packages 2>/dev/null || true
+@unexec rmdir %D/share/mime/multipart 2>/dev/null || true
+@unexec rmdir %D/share/mime/model 2>/dev/null || true
+@unexec rmdir %D/share/mime/message 2>/dev/null || true
+@unexec rmdir %D/share/mime/inode 2>/dev/null || true
+@unexec rmdir %D/share/mime/image 2>/dev/null || true
+@unexec rmdir %D/share/mime/audio 2>/dev/null || true
+@unexec rmdir %D/share/mime/application 2>/dev/null || true
+@unexec rmdir %D/share/mime 2>/dev/null || true