66 lines
2.1 KiB
Makefile
66 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2008/08/14 18:51:05 hoka_adam Exp $
|
|
#
|
|
# pkg-config says 1.0.2, let's combine it with the revision
|
|
# to give a sane version number.
|
|
#
|
|
DISTNAME= WebKit-r35656
|
|
PKGNAME= ${DISTNAME:S/WebKit/webkit-gtk/:S/r/1.0.2./}
|
|
CATEGORIES= www gtk2
|
|
MASTER_SITES= http://nightly.webkit.org/files/trunk/src/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= adam.hoka@gmail.com
|
|
HOMEPAGE= http://webkit.org/
|
|
COMMENT= gtk2 port of the WebKit browser engine
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= bison gmake perl:build \
|
|
automake autoconf autoheader libtoolize \
|
|
aclocal pkg-config bash:build
|
|
|
|
MAKE_FILE= GNUmakefile
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-target=x11 \
|
|
--with-http-backend=curl \
|
|
--with-font-backend=freetype
|
|
|
|
REPLACE_PERL+= JavaScriptCore/kjs/create_hash_table \
|
|
JavaScriptCore/pcre/dftables \
|
|
SunSpider/make-hosted \
|
|
SunSpider/sunspider \
|
|
SunSpider/sunspider-compare-results \
|
|
WebCore/bindings/scripts/*.pl \
|
|
WebCore/css/*.pl \
|
|
WebCore/dom/*.pl \
|
|
WebCore/platform/text/mac/*.pl \
|
|
WebKit/WebKit.xcodeproj/project.pbxproj \
|
|
WebKit/win/WebKit.vcproj/*.pl \
|
|
WebKitTools/BuildSlaveSupport/build-launcher-app \
|
|
WebKitTools/BuildSlaveSupport/build-launcher-dmg \
|
|
WebKitTools/BuildSlaveSupport/run-performance-tests \
|
|
WebKitTools/Scripts/*
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && ${SHELL} autogen.sh
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
# XXX http backends, soup should be newer to use (reasons to use it?)
|
|
.include "../../www/curl/buildlink3.mk"
|
|
# Needs newer
|
|
#.include "../../net/libsoup24/buildlink3.mk"
|
|
# Any reason to use pango?
|
|
#.include "../../devel/pango/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
# A correct Webkit build requires flex 2.5.33
|
|
.include "../../devel/flex/buildlink3.mk"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../devel/gperf/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|