summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-12-25 21:07:13 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-12-25 21:07:13 +0000
commita5b0e7da4fb5f6b57ef67f83cf63516dff18a037 (patch)
treea2acc4e5970e8e06d13e6750c15be71c5ad97a36 /misc
parentFix pkg-plist. (diff)
Don't statically add dynamically generated files to the plist. Instead,
just remove them if they exist during deinstall. This should fix the packaging problems.
Notes
Notes: svn path=/head/; revision=125165
Diffstat (limited to 'misc')
-rw-r--r--misc/shared-mime-info/Makefile2
-rw-r--r--misc/shared-mime-info/pkg-plist12
2 files changed, 7 insertions, 7 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile
index e67a14db6b04..0c76e02585e8 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= 2
+PORTREVISION= 3
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 aa7fc49cd67d..a61372aa46d0 100644
--- a/misc/shared-mime-info/pkg-plist
+++ b/misc/shared-mime-info/pkg-plist
@@ -1,6 +1,6 @@
bin/update-mime-database
libdata/pkgconfig/shared-mime-info.pc
-share/mime/XMLnamespaces
+@unexec [ -f %D/share/mime/XMLnamespaces ] && rm -f %D/share/mime/XMLnamespaces
share/mime/application/andrew-inset.xml
share/mime/application/illustrator.xml
share/mime/application/mac-binhex40.xml
@@ -224,7 +224,7 @@ share/mime/audio/x-voc.xml
share/mime/audio/x-wav.xml
share/mime/audio/x-xi.xml
share/mime/audio/x-xm.xml
-share/mime/globs
+@unexec [ -f %D/share/mime/globs ] && rm -f %D/share/mime/globs
share/mime/image/bmp.xml
share/mime/image/cgm.xml
share/mime/image/dpx.xml
@@ -285,7 +285,7 @@ share/mime/inode/fifo.xml
share/mime/inode/mount-point.xml
share/mime/inode/socket.xml
share/mime/inode/symlink.xml
-share/mime/magic
+@unexec [ -f %D/share/mime/magic ] && rm -f %D/share/mime/magic
share/mime/message/delivery-status.xml
share/mime/message/disposition-notification.xml
share/mime/message/external-body.xml
@@ -399,9 +399,9 @@ share/mime/video/x-sgi-movie.xml
@unexec rmdir %D/share/mime/application 2>/dev/null || true
@unexec rmdir %D/share/mime 2>/dev/null || true
@cwd %%X11BASE%%
-share/mime/XMLnamespaces
-share/mime/globs
-share/mime/magic
+@unexec [ -f %D/share/mime/XMLnamespaces ] && rm -f %D/share/mime/XMLnamespaces
+@unexec [ -f %D/share/mime/globs ] && rm -f %D/share/mime/globs
+@unexec [ -f %D/share/mime/magic ] && rm -f %D/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