diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-04-02 02:55:52 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-04-02 02:55:52 +0800 |
commit | 500fae7d6a94906b40bcc4e9d25664f53c97217b (patch) | |
tree | 9a340f96490600b253a5bf43719952dd5b2e0ade /www/webkit-gtk2 | |
parent | b842306392c8e8678c4da963fd32f2c118f98eea (diff) | |
download | marcuscom-ports-500fae7d6a94906b40bcc4e9d25664f53c97217b.tar.gz marcuscom-ports-500fae7d6a94906b40bcc4e9d25664f53c97217b.tar.zst marcuscom-ports-500fae7d6a94906b40bcc4e9d25664f53c97217b.zip |
- Update webkit-gtk2 to 31436
- Add support for LOCALBASE/lib/browser_plugins (doesn't work yet)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10845 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/webkit-gtk2')
-rw-r--r-- | www/webkit-gtk2/Makefile | 68 | ||||
-rw-r--r-- | www/webkit-gtk2/distinfo | 3 | ||||
-rw-r--r-- | www/webkit-gtk2/files/patch-WebCore_plugins_gtk_PluginDatabaseGtk.cpp | 11 | ||||
-rw-r--r-- | www/webkit-gtk2/pkg-descr | 5 | ||||
-rw-r--r-- | www/webkit-gtk2/pkg-plist | 26 |
5 files changed, 113 insertions, 0 deletions
diff --git a/www/webkit-gtk2/Makefile b/www/webkit-gtk2/Makefile new file mode 100644 index 000000000..dee74556c --- /dev/null +++ b/www/webkit-gtk2/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: webkit +# Date created: 2007-10-21 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD: ports/www/webkit-gtk2/Makefile,v 1.2 2008/03/31 10:33:05 ahze Exp $ +# $MCom: ports/www/webkit-gtk2/Makefile,v 1.5 2008/03/24 01:51:52 mezz Exp $ +# + +PORTNAME= webkit +PORTVERSION= 0.0.31436 +CATEGORIES= www +MASTER_SITES= http://nightly.webkit.org/files/trunk/src/ +PKGNAMESUFFIX= -gtk2 +DISTNAME= WebKit-r${PORTVERSION:S/0.0.//} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An opensource browser engine + +LIB_DEPENDS= icutu.38:${PORTSDIR}/devel/icu \ + curl.4:${PORTSDIR}/ftp/curl \ + sqlite3.8:${PORTSDIR}/databases/sqlite3 + +USE_BISON= build +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gnometarget gtk20 libxslt +USE_PERL5= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= autoconf:261 automake:110 libtool:15 +USE_GSTREAMER= gnomevfs +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-webkit-target=x11 \ + --enable-icon-database \ + --enable-video +# --enable-svg +MAKEFILE= GNUmakefile + +BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins +_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|/|"|:S|/|", "|g}", + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600000 +IGNORE= Does not build +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|%%_BROWSER_PLUGINS_DIR%%|${_BROWSER_PLUGINS_DIR}|' \ + ${WRKSRC}/WebCore/plugins/gtk/PluginDatabaseGtk.cpp + @${REINPLACE_CMD} -e 's|autoconf|${AUTOCONF}|g ; \ + s|automake|${AUTOMAKE}|g ; s|aclocal|${ACLOCAL}|g ; \ + s|autoheader|${AUTOHEADER}|g ; \ + s|LIBTOOLIZE=libtoolize|LIBTOOLIZE=${LIBTOOLIZE}|g ; \ + s|$$srcdir/configure|#$$srcdir/configure|g' \ + ${WRKSRC}/autogen.sh + @${FIND} ${WRKSRC} -name GNUmakefile.am | ${XARGS} ${REINPLACE_CMD} -e \ + 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' + +pre-configure: + @(cd ${WRKSRC} && ${SH} autogen.sh) + +post-install: +# Install compat pkg-config file so we don't have to patch ports + ${CP} ${PREFIX}/libdata/pkgconfig/webkit-1.0.pc \ + ${PREFIX}/libdata/pkgconfig/WebKitGtk.pc + +.include <bsd.port.post.mk> diff --git a/www/webkit-gtk2/distinfo b/www/webkit-gtk2/distinfo new file mode 100644 index 000000000..d1840b7c9 --- /dev/null +++ b/www/webkit-gtk2/distinfo @@ -0,0 +1,3 @@ +MD5 (WebKit-r31436.tar.bz2) = f4696f7e3517c51c1a6e1731ecece6d2 +SHA256 (WebKit-r31436.tar.bz2) = e78082192f2aa44bc26302b3c4d1e88af7698ba48640528ff92e27b78abea2d4 +SIZE (WebKit-r31436.tar.bz2) = 9234967 diff --git a/www/webkit-gtk2/files/patch-WebCore_plugins_gtk_PluginDatabaseGtk.cpp b/www/webkit-gtk2/files/patch-WebCore_plugins_gtk_PluginDatabaseGtk.cpp new file mode 100644 index 000000000..c57bc9ca2 --- /dev/null +++ b/www/webkit-gtk2/files/patch-WebCore_plugins_gtk_PluginDatabaseGtk.cpp @@ -0,0 +1,11 @@ +--- WebCore/plugins/gtk/PluginDatabaseGtk.cpp.orig 2008-04-01 11:14:13.073176655 -0400 ++++ WebCore/plugins/gtk/PluginDatabaseGtk.cpp 2008-04-01 11:15:02.191591705 -0400 +@@ -80,7 +80,7 @@ + g_strfreev(pluginPaths); + } + +- path = g_build_filename(G_DIR_SEPARATOR_S "usr", "lib", "browser", "plugins", 0); ++ path = g_build_filename(G_DIR_SEPARATOR_S %%_BROWSER_PLUGINS_DIR%% 0); + paths.append(path); + g_free(path); + path = g_build_filename(G_DIR_SEPARATOR_S "usr", "local", "lib", "mozilla", "plugins", 0); diff --git a/www/webkit-gtk2/pkg-descr b/www/webkit-gtk2/pkg-descr new file mode 100644 index 000000000..40ef1e3ef --- /dev/null +++ b/www/webkit-gtk2/pkg-descr @@ -0,0 +1,5 @@ +WebKit is an open source web browser engine. It is able to display content +such as HTML, SVG, XML, and others. It also supports DOM, XMLHttpRequest, +XSLT, CSS, Javascript/ECMAscript and more. + +WWW: http://webkit.org/ diff --git a/www/webkit-gtk2/pkg-plist b/www/webkit-gtk2/pkg-plist new file mode 100644 index 000000000..dcaabfaeb --- /dev/null +++ b/www/webkit-gtk2/pkg-plist @@ -0,0 +1,26 @@ +include/webkit-1.0/JavaScriptCore/JSBase.h +include/webkit-1.0/JavaScriptCore/JSContextRef.h +include/webkit-1.0/JavaScriptCore/JSObjectRef.h +include/webkit-1.0/JavaScriptCore/JSStringRef.h +include/webkit-1.0/JavaScriptCore/JSStringRefBSTR.h +include/webkit-1.0/JavaScriptCore/JSStringRefCF.h +include/webkit-1.0/JavaScriptCore/JSValueRef.h +include/webkit-1.0/JavaScriptCore/JavaScript.h +include/webkit-1.0/JavaScriptCore/JavaScriptCore.h +include/webkit-1.0/webkit/webkit.h +include/webkit-1.0/webkit/webkitdefines.h +include/webkit-1.0/webkit/webkitnetworkrequest.h +include/webkit-1.0/webkit/webkitwebbackforwardlist.h +include/webkit-1.0/webkit/webkitwebframe.h +include/webkit-1.0/webkit/webkitwebhistoryitem.h +include/webkit-1.0/webkit/webkitwebsettings.h +include/webkit-1.0/webkit/webkitwebview.h +lib/libwebkit-1.0.a +lib/libwebkit-1.0.la +lib/libwebkit-1.0.so +lib/libwebkit-1.0.so.1 +libdata/pkgconfig/WebKitGtk.pc +libdata/pkgconfig/webkit-1.0.pc +@dirrm include/webkit-1.0/webkit +@dirrm include/webkit-1.0/JavaScriptCore +@dirrm include/webkit-1.0 |