From 46fb20edf3557bce55eb334c568b81b0cb2905d2 Mon Sep 17 00:00:00 2001 From: mezz Date: Thu, 7 Feb 2008 05:54:24 +0000 Subject: - Rename from webkit to webkit-gtk2. - Update to 30028, but I added '0.0.' as in 0.0.30028 that way we don't have to use the PORTEPOCH in future. Also, this version makes a lot sense. - Complete seperate from webkit-qt4, the build process is different now in this version by using autotools for gtk2 and qmake for qt4. - Remove 'gnome' from CATEGORIES. This is not a GNOME stuff. ;-) I am keeping webkit for now to not break webkit-qt4. Also, Epiphany does not build with this new version, which it's fixed in SVN. In next version of Epiphany (if you select option) will have to use webkit-gtk2 to be able to build. If you are building this port with debug. Make sure you have enough memory and space. :o Because when I did. I got a huge library and see the ld uses memory: 93282 root 1 -8 0 692M 680M biord 0:34 39.79% ld You can test it by run 'make' or 'make install' without clean or remove work directory, then go in work/WebKit*/Programs and run ./GtkLauncher. The GtkLauncher is a mini browser for test, nothing fancy. I can add GtkLauncher to install if anyone want me to. I can rename from GtkLauncher to webkitgtk-mini-browser or something better. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10368 df743ca5-7f9a-e211-a948-0013205c9059 --- www/webkit-gtk2/Makefile | 52 +++++++++++++++++++++++++++++++++++++++++++++++ www/webkit-gtk2/distinfo | 3 +++ www/webkit-gtk2/pkg-descr | 5 +++++ www/webkit-gtk2/pkg-plist | 25 +++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 www/webkit-gtk2/Makefile create mode 100644 www/webkit-gtk2/distinfo create mode 100644 www/webkit-gtk2/pkg-descr create mode 100644 www/webkit-gtk2/pkg-plist diff --git a/www/webkit-gtk2/Makefile b/www/webkit-gtk2/Makefile new file mode 100644 index 000000000..8fbda0940 --- /dev/null +++ b/www/webkit-gtk2/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: webkit +# Date created: 2007-10-21 +# Whom: Michael Johnson +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= webkit +PORTVERSION= 0.0.30028 +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.36:${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-svg \ + --enable-video +MAKEFILE= GNUmakefile + +post-patch: + @${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) + +.include diff --git a/www/webkit-gtk2/distinfo b/www/webkit-gtk2/distinfo new file mode 100644 index 000000000..dbd49879c --- /dev/null +++ b/www/webkit-gtk2/distinfo @@ -0,0 +1,3 @@ +MD5 (WebKit-r30028.tar.bz2) = ac0464ebc8551e3f2e491bc6b05f9661 +SHA256 (WebKit-r30028.tar.bz2) = 5ac099387d30c89484519899c00781d6b56381cd62ac933b443f34c3b99f8e86 +SIZE (WebKit-r30028.tar.bz2) = 8748252 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..53ba030b4 --- /dev/null +++ b/www/webkit-gtk2/pkg-plist @@ -0,0 +1,25 @@ +include/WebKit/JavaScriptCore/JSBase.h +include/WebKit/JavaScriptCore/JSContextRef.h +include/WebKit/JavaScriptCore/JSObjectRef.h +include/WebKit/JavaScriptCore/JSStringRef.h +include/WebKit/JavaScriptCore/JSStringRefBSTR.h +include/WebKit/JavaScriptCore/JSStringRefCF.h +include/WebKit/JavaScriptCore/JSValueRef.h +include/WebKit/JavaScriptCore/JavaScript.h +include/WebKit/JavaScriptCore/JavaScriptCore.h +include/WebKit/webkit/webkit.h +include/WebKit/webkit/webkitdefines.h +include/WebKit/webkit/webkitnetworkrequest.h +include/WebKit/webkit/webkitwebbackforwardlist.h +include/WebKit/webkit/webkitwebframe.h +include/WebKit/webkit/webkitwebhistoryitem.h +include/WebKit/webkit/webkitwebsettings.h +include/WebKit/webkit/webkitwebview.h +lib/libWebKitGtk.a +lib/libWebKitGtk.la +lib/libWebKitGtk.so +lib/libWebKitGtk.so.1 +libdata/pkgconfig/webkit-1.0.pc +@dirrm include/WebKit/webkit +@dirrm include/WebKit/JavaScriptCore +@dirrm include/WebKit -- cgit v1.2.3