www/bluefish: Do not bundle MIME database files

Instead, the MIME database files will be created as a post-install
step thanks to USES=desktop-file-utils and USES=shared-mime-info.

This prevents the bluefish package (and other packages) from clobbering
the local MIME database, causing package conflicts and checksum
mismatches.
https://lists.freebsd.org/pipermail/freebsd-ports/2017-March/107752.html

Reported by:	Werner Lehmann <lehmannwer@gmail.com>
Reported by:	tech-lists@zyxst.net
Submitted by:	tijl
MFH:		2019Q2
This commit is contained in:
Ben Woods 2019-06-16 14:42:25 +00:00
parent 0db3165424
commit 911f786a3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504347
2 changed files with 3 additions and 17 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= bluefish
PORTVERSION= 2.2.10
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www editors
MASTER_SITES= http://www.bennewitz.com/bluefish/stable/source/ \
http://bluefish.mrball.net/stable/source/
@ -26,7 +26,8 @@ USE_GNOME= cairo intltool libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-freedesktop_org-menu=${PREFIX}/share/applications \
--with-freedesktop_org-mime=${PREFIX}/share/mime \
--with-icon-path=${PREFIX}/share/pixmaps
--with-icon-path=${PREFIX}/share/pixmaps \
--disable-update-databases
INSTALL_TARGET= install-strip
INSTALLS_ICONS= yes
USE_LDCONFIG= yes

View file

@ -9,7 +9,6 @@ lib/bluefish/zencoding.so
man/man1/bluefish.1.gz
share/appdata/bluefish.appdata.xml
share/applications/bluefish.desktop
share/applications/mimeinfo.cache
%%DATADIR%%/bflang/JQuery.bfinc
%%DATADIR%%/bflang/ada.bflang2
%%DATADIR%%/bflang/all-html.bfinc
@ -440,21 +439,7 @@ share/locale/zh_TW/LC_MESSAGES/bluefish_plugin_htmlbar.mo
share/locale/zh_TW/LC_MESSAGES/bluefish_plugin_infbrowser.mo
share/locale/zh_TW/LC_MESSAGES/bluefish_plugin_snippets.mo
share/locale/zh_TW/LC_MESSAGES/bluefish_plugin_zencoding.mo
share/mime/XMLnamespaces
share/mime/aliases
share/mime/application/x-bluefish-language2.xml
share/mime/application/x-bluefish-project.xml
share/mime/generic-icons
share/mime/globs
share/mime/globs2
share/mime/icons
share/mime/magic
share/mime/mime.cache
share/mime/packages/bluefish.xml
share/mime/subclasses
share/mime/treemagic
share/mime/types
share/mime/version
share/pixmaps/application-x-bluefish-project.png
share/pixmaps/bluefish.png
share/xml/bluefish/2.0/bflang2.rng