summaryrefslogtreecommitdiff
path: root/www/webkit-gtk/Makefile
blob: cb31ceeb6cce52fbc1147d83b46cdc8ed326db06 (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
54
55
56
# $NetBSD: Makefile,v 1.23 2010/05/19 17:54:24 drochner Exp $

DISTNAME=	webkit-1.2.1
PKGNAME=	${DISTNAME:S/webkit/webkit-gtk/}
CATEGORIES=	www
MASTER_SITES=	http://www.webkitgtk.org/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.webkitgtk.org/
COMMENT=	GTK2 port of the WebKit browser engine

USE_LANGUAGES=	c c++
USE_LIBTOOL=	yes
USE_TOOLS+=	bison gmake perl:build pkg-config msgfmt

PKGCONFIG_OVERRIDE=	WebKit/gtk/webkit.pc.in

PKG_DESTDIR_SUPPORT=	user-destdir

MAKE_FILE=	GNUmakefile
GNU_CONFIGURE=	yes

CONFIGURE_ARGS+=	--with-target=x11 \
			--with-font-backend=freetype
.include "options.mk"

REPLACE_PERL+=	JavaScriptCore/pcre/dftables \
		JavaScriptCore/create_hash_table \
		WebCore/bindings/scripts/generate-bindings.pl \
		WebCore/bindings/scripts/InFilesParser.pm \
		WebCore/platform/text/mac/make-charset-table.pl \
		WebCore/css/*.pl \
		WebCore/dom/*.pl \
		WebCore/platform/text/mac/*.pl

.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/flex/buildlink3.mk"
.include "../../devel/gperf/buildlink3.mk"
# This is optional, but needs testing.
#.include "../../devel/pango/buildlink3.mk"
# A correct Webkit build requires flex 2.5.33
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
BUILDLINK_API_DEPENDS.libsoup24+= libsoup24>=2.28.0
.include "../../net/libsoup24/buildlink3.mk"
.include "../../textproc/enchant/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk2+=	gtk2+>=2.10
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"