summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-12-25 21:07:13 +0000
committermarcus <marcus@FreeBSD.org>2004-12-25 21:07:13 +0000
commit408965d3d528db729a7b87c84a8d6b8f836bad34 (patch)
tree2438e64bb0a194bf788f6a552d203371c5c7e9cb /misc
parent3a3f78602ecae9da2e1f754b69e8e0d19f9fc72f (diff)
downloadFreeBSD-ports-408965d3d528db729a7b87c84a8d6b8f836bad34.zip
FreeBSD-ports-408965d3d528db729a7b87c84a8d6b8f836bad34.tar.gz
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.
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 e67a14d..0c76e02 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 aa7fc49..a61372a 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
OpenPOWER on IntegriCloud