freebsd-ports/www/bluefish/Makefile
Ben Woods 911f786a3e 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
2019-06-16 14:42:25 +00:00

54 lines
1.6 KiB
Makefile

# Created by: Koop Mast <einekoai@chello.nl>
# $FreeBSD$
PORTNAME= bluefish
PORTVERSION= 2.2.10
PORTREVISION= 2
CATEGORIES= www editors
MASTER_SITES= http://www.bennewitz.com/bluefish/stable/source/ \
http://bluefish.mrball.net/stable/source/
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= HTML editor designed for the experienced web designer
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpcre.so:devel/pcre \
libenchant.so:textproc/enchant
USES= desktop-file-utils gettext gmake libtool localbase pkgconfig python:2.7 \
shared-mime-info shebangfix tar:bzip2
SHEBANG_FILES= data/css_decompressor data/cssmin.py data/jsbeautify \
data/jsmin.py data/lorem-ipsum-generator
python_OLD_CMD= /usr/bin/python2.7
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 \
--disable-update-databases
INSTALL_TARGET= install-strip
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
OPTIONS_DEFINE= DEBUG DOCS TIDY WEBLINT
OPTIONS_SINGLE= TOOLKIT
OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3
OPTIONS_DEFAULT=GTK3 WEBLINT
OPTIONS_SUB= yes
TOOLKIT_DESC= GTK+ toolkit
WEBLINT_DESC= Weblint HTML checker support
DEBUG_CONFIGURE_ENABLE= debugging-output
GTK2_USE= gnome=gtk20
GTK2_CONFIGURE_ON= --with-gtk2=yes
GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
GTK3_LIB_DEPENDS= libgucharmap_2_90.so:deskutils/gucharmap
GTK3_USE= gnome=gtk30
TIDY_RUN_DEPENDS= tidy4:www/tidy
WEBLINT_RUN_DEPENDS= weblint:www/weblint
.include <bsd.port.mk>