| @@ -1,66 +1,66 @@ | | | @@ -1,66 +1,66 @@ |
1 | # $NetBSD: Makefile.common,v 1.3 2011/10/07 12:17:25 drochner Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.4 2011/12/27 03:54:36 sbd Exp $ |
2 | # used by www/webkit-gtk/Makefile | | 2 | # used by www/webkit-gtk/Makefile |
3 | # used by www/webkit-gtk3/Makefile | | 3 | # used by www/webkit-gtk3/Makefile |
4 | | | 4 | |
5 | DISTNAME= webkit-1.6.1 | | 5 | DISTNAME= webkit-1.6.1 |
6 | CATEGORIES= www | | 6 | CATEGORIES= www |
7 | MASTER_SITES= http://www.webkitgtk.org/ | | 7 | MASTER_SITES= http://www.webkitgtk.org/ |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.webkitgtk.org/ | | 10 | HOMEPAGE= http://www.webkitgtk.org/ |
11 | | | 11 | |
12 | DISTINFO_FILE= ${.CURDIR}/../../www/webkit-gtk/distinfo | | 12 | DISTINFO_FILE= ${.CURDIR}/../../www/webkit-gtk/distinfo |
13 | PATCHDIR= ${.CURDIR}/../../www/webkit-gtk/patches | | 13 | PATCHDIR= ${.CURDIR}/../../www/webkit-gtk/patches |
14 | | | 14 | |
15 | USE_LANGUAGES= c c++ | | 15 | USE_LANGUAGES= c c++ |
16 | USE_LIBTOOL= yes | | 16 | USE_LIBTOOL= yes |
17 | USE_TOOLS+= bison gmake perl:build pkg-config msgfmt | | 17 | USE_TOOLS+= bison gmake perl:build pkg-config msgfmt gsed |
18 | | | 18 | |
19 | PKGCONFIG_OVERRIDE= Source/WebKit/gtk/webkit.pc.in | | 19 | PKGCONFIG_OVERRIDE= Source/WebKit/gtk/webkit.pc.in |
20 | | | 20 | |
21 | PKG_DESTDIR_SUPPORT= user-destdir | | 21 | PKG_DESTDIR_SUPPORT= user-destdir |
22 | MAKE_JOBS_SAFE= no | | 22 | MAKE_JOBS_SAFE= no |
23 | | | 23 | |
24 | MAKE_FILE= GNUmakefile | | 24 | MAKE_FILE= GNUmakefile |
25 | GNU_CONFIGURE= yes | | 25 | GNU_CONFIGURE= yes |
26 | | | 26 | |
27 | CONFIGURE_ARGS+= --with-target=x11 \ | | 27 | CONFIGURE_ARGS+= --with-target=x11 \ |
28 | --with-font-backend=freetype | | 28 | --with-font-backend=freetype |
29 | CONFIGURE_ENV+= ZLIB_CFLAGS=-I${BUILDLINK_PREFIX.zlib}/include ZLIB_LIBS=-lz | | 29 | CONFIGURE_ENV+= ZLIB_CFLAGS=-I${BUILDLINK_PREFIX.zlib}/include ZLIB_LIBS=-lz |
30 | | | 30 | |
31 | .include "options.mk" | | 31 | .include "options.mk" |
32 | | | 32 | |
33 | REPLACE_PERL+= Source/JavaScriptCore/create_hash_table \ | | 33 | REPLACE_PERL+= Source/JavaScriptCore/create_hash_table \ |
34 | Source/WebCore/bindings/scripts/generate-bindings.pl \ | | 34 | Source/WebCore/bindings/scripts/generate-bindings.pl \ |
35 | Source/WebCore/bindings/scripts/InFilesParser.pm \ | | 35 | Source/WebCore/bindings/scripts/InFilesParser.pm \ |
36 | Source/WebCore/platform/text/mac/make-charset-table.pl \ | | 36 | Source/WebCore/platform/text/mac/make-charset-table.pl \ |
37 | Source/WebCore/css/*.pl \ | | 37 | Source/WebCore/css/*.pl \ |
38 | Source/WebCore/dom/*.pl \ | | 38 | Source/WebCore/dom/*.pl \ |
39 | Source/WebCore/inspector/xxd.pl \ | | 39 | Source/WebCore/inspector/xxd.pl \ |
40 | Source/WebCore/make-hash-tools.pl \ | | 40 | Source/WebCore/make-hash-tools.pl \ |
41 | Source/WebCore/platform/text/mac/*.pl | | 41 | Source/WebCore/platform/text/mac/*.pl |
42 | | | 42 | |
43 | BUILDLINK_DEPMETHOD.python= build | | 43 | BUILDLINK_DEPMETHOD.python= build |
44 | .include "../../lang/python/application.mk" | | 44 | .include "../../lang/python/application.mk" |
45 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN} | | 45 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN} |
46 | | | 46 | |
47 | .include "../../devel/zlib/buildlink3.mk" | | 47 | .include "../../devel/zlib/buildlink3.mk" |
48 | .include "../../databases/sqlite3/buildlink3.mk" | | 48 | .include "../../databases/sqlite3/buildlink3.mk" |
49 | .include "../../devel/flex/buildlink3.mk" | | 49 | .include "../../devel/flex/buildlink3.mk" |
50 | .include "../../devel/gperf/buildlink3.mk" | | 50 | .include "../../devel/gperf/buildlink3.mk" |
51 | # This is optional, but needs testing. | | 51 | # This is optional, but needs testing. |
52 | #.include "../../devel/pango/buildlink3.mk" | | 52 | #.include "../../devel/pango/buildlink3.mk" |
53 | # A correct Webkit build requires flex 2.5.33 | | 53 | # A correct Webkit build requires flex 2.5.33 |
54 | .include "../../graphics/freetype2/buildlink3.mk" | | 54 | .include "../../graphics/freetype2/buildlink3.mk" |
55 | .include "../../mk/jpeg.buildlink3.mk" | | 55 | .include "../../mk/jpeg.buildlink3.mk" |
56 | BUILDLINK_API_DEPENDS.png+= png>=1.5.1beta08 | | 56 | BUILDLINK_API_DEPENDS.png+= png>=1.5.1beta08 |
57 | .include "../../graphics/png/buildlink3.mk" | | 57 | .include "../../graphics/png/buildlink3.mk" |
58 | .include "../../multimedia/gstreamer0.10/buildlink3.mk" | | 58 | .include "../../multimedia/gstreamer0.10/buildlink3.mk" |
59 | .include "../../multimedia/gst-plugins0.10-base/buildlink3.mk" | | 59 | .include "../../multimedia/gst-plugins0.10-base/buildlink3.mk" |
60 | BUILDLINK_API_DEPENDS.libsoup24+= libsoup24>=2.34.2 | | 60 | BUILDLINK_API_DEPENDS.libsoup24+= libsoup24>=2.34.2 |
61 | .include "../../net/libsoup24/buildlink3.mk" | | 61 | .include "../../net/libsoup24/buildlink3.mk" |
62 | .include "../../textproc/enchant/buildlink3.mk" | | 62 | .include "../../textproc/enchant/buildlink3.mk" |
63 | .include "../../textproc/icu/buildlink3.mk" | | 63 | .include "../../textproc/icu/buildlink3.mk" |
64 | .include "../../textproc/libxslt/buildlink3.mk" | | 64 | .include "../../textproc/libxslt/buildlink3.mk" |
65 | .include "../../x11/libXt/buildlink3.mk" | | 65 | .include "../../x11/libXt/buildlink3.mk" |
66 | .include "../../mk/pthread.buildlink3.mk" | | 66 | .include "../../mk/pthread.buildlink3.mk" |