summaryrefslogtreecommitdiff
path: root/www/bluefish/Makefile
blob: 9f44922ed27a0ab32402c0e1f174de37c7e88f38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# $NetBSD: Makefile,v 1.133 2018/07/03 05:03:38 adam Exp $

DISTNAME=	bluefish-2.2.8
PKGREVISION=	6
CATEGORIES=	www
MASTER_SITES=	http://bluefish.mrball.net/stable/source/
MASTER_SITES+=	http://www.bennewitz.com/bluefish/stable/source/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://bluefish.openoffice.nl/
COMMENT=	GTK HTML editor for the experienced web designer
LICENSE=	gnu-gpl-v3

DEPENDS+=		weblint-[0-9]*:../../www/weblint

USE_TOOLS+=		find gmake grep msgfmt pkg-config perl intltool
USE_PKGLOCALEDIR=	yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-icon-path=${PREFIX:Q}/share/pixmaps
CONFIGURE_ARGS+=	--with-freedesktop_org-menu=${PREFIX:Q}/share/applications
CONFIGURE_ARGS+=	--with-freedesktop_org-mime=${PREFIX:Q}/share/mime
CONFIGURE_ENV+=		EXTERNAL_GREP=${TOOLS_GREP:Q}
CONFIGURE_ENV+=		EXTERNAL_FIND=${TOOLS_FIND:Q}

CHECK_WRKREF_SKIP+=	lib/bluefish/about.so
REPLACE_PYTHON+=	data/lorem-ipsum-generator data/jsbeautify
REPLACE_PYTHON+=	data/cssmin.py data/jsmin.py
REPLACE_PYTHON+=	data/css_decompressor
CHECK_INTERPRETER_SKIP+= share/bluefish/plugins/*/*.py
CHECK_INTERPRETER_SKIP+= share/bluefish/plugins/*/*/*.py

PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 37 # not yet ported as of 2.2.4

# XXX this doesn't work
#XML_CATALOGS=	${PREFIX}/share/xml/bluefish/catalog.xml
#XML_ENTRIES=	delegateURI http://bluefish.openoffice.nl/ns/bflang/2.0/ \
#		${PREFIX}/share/xml/bluefish/2.0/
#.include "../../textproc/xmlcatmgr/catalogs.mk"

.include "../../lang/python/application.mk"
#CONFIGURE_ARGS+=	--disable-python

.include "../../converters/libiconv/buildlink3.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../fonts/gucharmap/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/enchant/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"