diff options
author | marcus <marcus@FreeBSD.org> | 2004-12-29 03:14:13 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-12-29 03:14:13 +0800 |
commit | 8ebe9c50d35b7d66499b7a8a5942aef8d002c3f2 (patch) | |
tree | 3f666e2aaaa87855622b3a3681aa8ee6a3bc549f /devel/desktop-file-utils/files | |
parent | a2cf184d0199d91d59207dc3af2a14042625f18d (diff) | |
download | freebsd-ports-gnome-8ebe9c50d35b7d66499b7a8a5942aef8d002c3f2.tar.gz freebsd-ports-gnome-8ebe9c50d35b7d66499b7a8a5942aef8d002c3f2.tar.zst freebsd-ports-gnome-8ebe9c50d35b7d66499b7a8a5942aef8d002c3f2.zip |
* Update to 0.10
* Move to a LOCALBASE PREFIX since gnome-vfs support was removed
* Cleanup leftover mimeinfo.cache files
* Make more portlint-friendly
Approved by: maintainer (blanket)
Diffstat (limited to 'devel/desktop-file-utils/files')
-rw-r--r-- | devel/desktop-file-utils/files/patch-src::menu-method.c | 11 | ||||
-rw-r--r-- | devel/desktop-file-utils/files/pkg-deinstall.in | 17 |
2 files changed, 17 insertions, 11 deletions
diff --git a/devel/desktop-file-utils/files/patch-src::menu-method.c b/devel/desktop-file-utils/files/patch-src::menu-method.c deleted file mode 100644 index 5b16fe8a671c..000000000000 --- a/devel/desktop-file-utils/files/patch-src::menu-method.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/menu-method.c.orig Fri Jun 11 00:39:02 2004 -+++ src/menu-method.c Fri Jun 11 00:39:43 2004 -@@ -117,7 +117,7 @@ - GnomeVFSOpenMode mode, - FileHandle **handle, - gboolean exclusive, -- unsigned int perms); -+ mode_t perms); - static void file_handle_unref (FileHandle *handle); - static GnomeVFSResult file_handle_read (FileHandle *handle, - gpointer buffer, diff --git a/devel/desktop-file-utils/files/pkg-deinstall.in b/devel/desktop-file-utils/files/pkg-deinstall.in new file mode 100644 index 000000000000..253e5484adae --- /dev/null +++ b/devel/desktop-file-utils/files/pkg-deinstall.in @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# Remove leftover mimeinfo.cache files. + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +for mdir in %%MIMEDIRS%%; do + if [ -f ${mdir}/mimeinfo.cache ]; then + rm -f ${mdir}/mimeinfo.cache + fi +done + +exit 0 |