summaryrefslogtreecommitdiffstats
path: root/www/webkit-gtk2
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-05-04 05:43:54 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-05-04 05:43:54 +0800
commit01064dcb068ff24d742daa130161556dddb39833 (patch)
treef2580e71cb8768a4cbc1fc58f368468de7189554 /www/webkit-gtk2
parent21eb6203f6b5815f26237a63f0d0d95c9dee2d1c (diff)
downloadmarcuscom-ports-01064dcb068ff24d742daa130161556dddb39833.tar
marcuscom-ports-01064dcb068ff24d742daa130161556dddb39833.tar.gz
marcuscom-ports-01064dcb068ff24d742daa130161556dddb39833.tar.bz2
marcuscom-ports-01064dcb068ff24d742daa130161556dddb39833.tar.lz
marcuscom-ports-01064dcb068ff24d742daa130161556dddb39833.tar.xz
marcuscom-ports-01064dcb068ff24d742daa130161556dddb39833.tar.zst
marcuscom-ports-01064dcb068ff24d742daa130161556dddb39833.zip
Update to 1.1.6.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12245 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/webkit-gtk2')
-rw-r--r--www/webkit-gtk2/Makefile74
-rw-r--r--www/webkit-gtk2/distinfo3
-rw-r--r--www/webkit-gtk2/files/patch-WebKit_gtk_webkit.pc.in8
-rw-r--r--www/webkit-gtk2/files/patch-Webcore_plugins_PluginDatabase.cpp10
-rw-r--r--www/webkit-gtk2/pkg-descr6
-rw-r--r--www/webkit-gtk2/pkg-plist157
6 files changed, 258 insertions, 0 deletions
diff --git a/www/webkit-gtk2/Makefile b/www/webkit-gtk2/Makefile
new file mode 100644
index 000000000..f0ad2b22d
--- /dev/null
+++ b/www/webkit-gtk2/Makefile
@@ -0,0 +1,74 @@
+# New ports collection makefile for: webkit
+# Date created: 2007-10-21
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= webkit
+PORTVERSION= 1.1.6
+CATEGORIES= www
+MASTER_SITES= http://webkitgtk.org/
+PKGNAMESUFFIX= -gtk2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= An opensource browser engine
+
+BUILD_DEPENDS= flex:${PORTSDIR}/textproc/flex
+LIB_DEPENDS= icutu.38:${PORTSDIR}/devel/icu \
+ enchant.1:${PORTSDIR}/textproc/enchant \
+ curl.5:${PORTSDIR}/ftp/curl \
+ sqlite3.8:${PORTSDIR}/databases/sqlite3
+
+WANT_GSTREAMER= yes
+USE_XORG= xt
+USE_BISON= build
+USE_GMAKE= yes
+USE_GNOME= gtk20 libxslt
+USE_PERL5= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ ac_cv_path_FLEX="${LOCALBASE}/bin/flex" \
+ ac_cv_path_DOLT_BASH=""
+CONFIGURE_ARGS= --enable-static \
+ --enable-icon-database \
+ --enable-svg \
+ --enable-svg-fonts
+MAKEFILE= GNUmakefile
+
+BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk2
+#_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|^/|"|:S|/|", "|g}",
+
+OPTIONS= VIDEO "Enable video support" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_VIDEO)
+USE_GSTREAMER+= gnomevfs
+CONFIGURE_ARGS+=--enable-video
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \
+ ${WRKSRC}/WebCore/plugins/PluginDatabase.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..3adcf0217
--- /dev/null
+++ b/www/webkit-gtk2/distinfo
@@ -0,0 +1,3 @@
+MD5 (webkit-1.1.6.tar.gz) = b311337561507b485fc2172cec7c2266
+SHA256 (webkit-1.1.6.tar.gz) = 7cec3bd99fb66f434bbe6dd3a17acfcaf9bef1aac10dc833877f66443abb05ce
+SIZE (webkit-1.1.6.tar.gz) = 6068467
diff --git a/www/webkit-gtk2/files/patch-WebKit_gtk_webkit.pc.in b/www/webkit-gtk2/files/patch-WebKit_gtk_webkit.pc.in
new file mode 100644
index 000000000..006b49709
--- /dev/null
+++ b/www/webkit-gtk2/files/patch-WebKit_gtk_webkit.pc.in
@@ -0,0 +1,8 @@
+--- WebKit/gtk/webkit.pc.in.orig 2008-04-01 14:46:09.251210738 -0400
++++ WebKit/gtk/webkit.pc.in 2008-04-01 14:46:21.218068816 -0400
+@@ -8,4 +8,4 @@
+ Version: @VERSION@
+ Requires: gtk+-2.0
+ Libs: -L${libdir} -lwebkit-1.0
+-Cflags: -I${includedir}/webkit-1.0
++Cflags: -I${includedir}/webkit-1.0 -I${includedir}/webkit-1.0/webkit
diff --git a/www/webkit-gtk2/files/patch-Webcore_plugins_PluginDatabase.cpp b/www/webkit-gtk2/files/patch-Webcore_plugins_PluginDatabase.cpp
new file mode 100644
index 000000000..ed0a5895f
--- /dev/null
+++ b/www/webkit-gtk2/files/patch-Webcore_plugins_PluginDatabase.cpp
@@ -0,0 +1,10 @@
+--- WebCore/plugins/PluginDatabase.cpp.orig 2008-05-26 01:03:07.236973838 -0700
++++ WebCore/plugins/PluginDatabase.cpp 2008-05-26 01:03:52.356436787 -0700
+@@ -281,6 +281,7 @@
+ userPluginPath.append(String("/.netscape/plugins"));
+ paths.append(userPluginPath);
+
++ paths.append("%%BROWSER_PLUGINS%%");
+ paths.append("/usr/lib/browser/plugins");
+ paths.append("/usr/local/lib/mozilla/plugins");
+ paths.append("/usr/lib/firefox/plugins");
diff --git a/www/webkit-gtk2/pkg-descr b/www/webkit-gtk2/pkg-descr
new file mode 100644
index 000000000..adfbb90c9
--- /dev/null
+++ b/www/webkit-gtk2/pkg-descr
@@ -0,0 +1,6 @@
+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.
+
+Main webkit website: http://webkit.org/ Below is the offical WebKitGTK+ website.
+WWW: http://webkitgtk.org/
diff --git a/www/webkit-gtk2/pkg-plist b/www/webkit-gtk2/pkg-plist
new file mode 100644
index 000000000..b81365fbe
--- /dev/null
+++ b/www/webkit-gtk2/pkg-plist
@@ -0,0 +1,157 @@
+bin/jsc
+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/JavaScriptCore/WebKitAvailability.h
+include/webkit-1.0/webkit/webkit.h
+include/webkit-1.0/webkit/webkitdefines.h
+include/webkit-1.0/webkit/webkitdownload.h
+include/webkit-1.0/webkit/webkitenumtypes.h
+include/webkit-1.0/webkit/webkiterror.h
+include/webkit-1.0/webkit/webkitnetworkrequest.h
+include/webkit-1.0/webkit/webkitsoupauthdialog.h
+include/webkit-1.0/webkit/webkitversion.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/webkitwebinspector.h
+include/webkit-1.0/webkit/webkitwebnavigationaction.h
+include/webkit-1.0/webkit/webkitwebpolicydecision.h
+include/webkit-1.0/webkit/webkitwebsettings.h
+include/webkit-1.0/webkit/webkitwebview.h
+include/webkit-1.0/webkit/webkitwebwindowfeatures.h
+lib/libwebkit-1.0.a
+lib/libwebkit-1.0.la
+lib/libwebkit-1.0.so
+lib/libwebkit-1.0.so.6
+libdata/pkgconfig/WebKitGtk.pc
+libdata/pkgconfig/webkit-1.0.pc
+share/locale/de/LC_MESSAGES/webkit.mo
+share/locale/pt_BR/LC_MESSAGES/webkit.mo
+share/webkit-1.0/resources/error.html
+share/webkit-1.0/webinspector/Images/back.png
+share/webkit-1.0/webinspector/Images/checker.png
+share/webkit-1.0/webinspector/Images/clearConsoleButtons.png
+share/webkit-1.0/webinspector/Images/closeButtons.png
+share/webkit-1.0/webinspector/Images/consoleButtons.png
+share/webkit-1.0/webinspector/Images/database.png
+share/webkit-1.0/webinspector/Images/databaseTable.png
+share/webkit-1.0/webinspector/Images/databasesIcon.png
+share/webkit-1.0/webinspector/Images/debuggerContinue.png
+share/webkit-1.0/webinspector/Images/debuggerPause.png
+share/webkit-1.0/webinspector/Images/debuggerStepInto.png
+share/webkit-1.0/webinspector/Images/debuggerStepOut.png
+share/webkit-1.0/webinspector/Images/debuggerStepOver.png
+share/webkit-1.0/webinspector/Images/disclosureTriangleSmallDown.png
+share/webkit-1.0/webinspector/Images/disclosureTriangleSmallDownBlack.png
+share/webkit-1.0/webinspector/Images/disclosureTriangleSmallDownWhite.png
+share/webkit-1.0/webinspector/Images/disclosureTriangleSmallRight.png
+share/webkit-1.0/webinspector/Images/disclosureTriangleSmallRightBlack.png
+share/webkit-1.0/webinspector/Images/disclosureTriangleSmallRightDown.png
+share/webkit-1.0/webinspector/Images/disclosureTriangleSmallRightDownBlack.png
+share/webkit-1.0/webinspector/Images/disclosureTriangleSmallRightDownWhite.png
+share/webkit-1.0/webinspector/Images/disclosureTriangleSmallRightWhite.png
+share/webkit-1.0/webinspector/Images/dockButtons.png
+share/webkit-1.0/webinspector/Images/domStorage.png
+share/webkit-1.0/webinspector/Images/elementsIcon.png
+share/webkit-1.0/webinspector/Images/enableButtons.png
+share/webkit-1.0/webinspector/Images/errorIcon.png
+share/webkit-1.0/webinspector/Images/errorMediumIcon.png
+share/webkit-1.0/webinspector/Images/excludeButtons.png
+share/webkit-1.0/webinspector/Images/focusButtons.png
+share/webkit-1.0/webinspector/Images/forward.png
+share/webkit-1.0/webinspector/Images/glossyHeader.png
+share/webkit-1.0/webinspector/Images/glossyHeaderPressed.png
+share/webkit-1.0/webinspector/Images/glossyHeaderSelected.png
+share/webkit-1.0/webinspector/Images/glossyHeaderSelectedPressed.png
+share/webkit-1.0/webinspector/Images/goArrow.png
+share/webkit-1.0/webinspector/Images/graphLabelCalloutLeft.png
+share/webkit-1.0/webinspector/Images/graphLabelCalloutRight.png
+share/webkit-1.0/webinspector/Images/largerResourcesButtons.png
+share/webkit-1.0/webinspector/Images/nodeSearchButtons.png
+share/webkit-1.0/webinspector/Images/paneBottomGrow.png
+share/webkit-1.0/webinspector/Images/paneBottomGrowActive.png
+share/webkit-1.0/webinspector/Images/paneGrowHandleLine.png
+share/webkit-1.0/webinspector/Images/pauseOnExceptionButtons.png
+share/webkit-1.0/webinspector/Images/percentButtons.png
+share/webkit-1.0/webinspector/Images/profileGroupIcon.png
+share/webkit-1.0/webinspector/Images/profileIcon.png
+share/webkit-1.0/webinspector/Images/profileSmallIcon.png
+share/webkit-1.0/webinspector/Images/profilesIcon.png
+share/webkit-1.0/webinspector/Images/profilesSilhouette.png
+share/webkit-1.0/webinspector/Images/recordButtons.png
+share/webkit-1.0/webinspector/Images/reloadButtons.png
+share/webkit-1.0/webinspector/Images/resourceCSSIcon.png
+share/webkit-1.0/webinspector/Images/resourceDocumentIcon.png
+share/webkit-1.0/webinspector/Images/resourceDocumentIconSmall.png
+share/webkit-1.0/webinspector/Images/resourceJSIcon.png
+share/webkit-1.0/webinspector/Images/resourcePlainIcon.png
+share/webkit-1.0/webinspector/Images/resourcePlainIconSmall.png
+share/webkit-1.0/webinspector/Images/resourcesIcon.png
+share/webkit-1.0/webinspector/Images/resourcesSizeGraphIcon.png
+share/webkit-1.0/webinspector/Images/resourcesTimeGraphIcon.png
+share/webkit-1.0/webinspector/Images/scriptsIcon.png
+share/webkit-1.0/webinspector/Images/scriptsSilhouette.png
+share/webkit-1.0/webinspector/Images/searchSmallBlue.png
+share/webkit-1.0/webinspector/Images/searchSmallBrightBlue.png
+share/webkit-1.0/webinspector/Images/searchSmallGray.png
+share/webkit-1.0/webinspector/Images/searchSmallWhite.png
+share/webkit-1.0/webinspector/Images/segment.png
+share/webkit-1.0/webinspector/Images/segmentEnd.png
+share/webkit-1.0/webinspector/Images/segmentHover.png
+share/webkit-1.0/webinspector/Images/segmentHoverEnd.png
+share/webkit-1.0/webinspector/Images/segmentSelected.png
+share/webkit-1.0/webinspector/Images/segmentSelectedEnd.png
+share/webkit-1.0/webinspector/Images/splitviewDimple.png
+share/webkit-1.0/webinspector/Images/splitviewDividerBackground.png
+share/webkit-1.0/webinspector/Images/statusbarBackground.png
+share/webkit-1.0/webinspector/Images/statusbarBottomBackground.png
+share/webkit-1.0/webinspector/Images/statusbarButtons.png
+share/webkit-1.0/webinspector/Images/statusbarMenuButton.png
+share/webkit-1.0/webinspector/Images/statusbarMenuButtonSelected.png
+share/webkit-1.0/webinspector/Images/statusbarResizerHorizontal.png
+share/webkit-1.0/webinspector/Images/statusbarResizerVertical.png
+share/webkit-1.0/webinspector/Images/timelineHollowPillBlue.png
+share/webkit-1.0/webinspector/Images/timelineHollowPillGray.png
+share/webkit-1.0/webinspector/Images/timelineHollowPillGreen.png
+share/webkit-1.0/webinspector/Images/timelineHollowPillOrange.png
+share/webkit-1.0/webinspector/Images/timelineHollowPillPurple.png
+share/webkit-1.0/webinspector/Images/timelineHollowPillRed.png
+share/webkit-1.0/webinspector/Images/timelineHollowPillYellow.png
+share/webkit-1.0/webinspector/Images/timelinePillBlue.png
+share/webkit-1.0/webinspector/Images/timelinePillGray.png
+share/webkit-1.0/webinspector/Images/timelinePillGreen.png
+share/webkit-1.0/webinspector/Images/timelinePillOrange.png
+share/webkit-1.0/webinspector/Images/timelinePillPurple.png
+share/webkit-1.0/webinspector/Images/timelinePillRed.png
+share/webkit-1.0/webinspector/Images/timelinePillYellow.png
+share/webkit-1.0/webinspector/Images/tipBalloon.png
+share/webkit-1.0/webinspector/Images/tipBalloonBottom.png
+share/webkit-1.0/webinspector/Images/tipIcon.png
+share/webkit-1.0/webinspector/Images/tipIconPressed.png
+share/webkit-1.0/webinspector/Images/toolbarItemSelected.png
+share/webkit-1.0/webinspector/Images/treeDownTriangleBlack.png
+share/webkit-1.0/webinspector/Images/treeDownTriangleWhite.png
+share/webkit-1.0/webinspector/Images/treeRightTriangleBlack.png
+share/webkit-1.0/webinspector/Images/treeRightTriangleWhite.png
+share/webkit-1.0/webinspector/Images/treeUpTriangleBlack.png
+share/webkit-1.0/webinspector/Images/treeUpTriangleWhite.png
+share/webkit-1.0/webinspector/Images/userInputIcon.png
+share/webkit-1.0/webinspector/Images/userInputPreviousIcon.png
+share/webkit-1.0/webinspector/Images/userInputResultIcon.png
+share/webkit-1.0/webinspector/Images/warningIcon.png
+share/webkit-1.0/webinspector/Images/warningMediumIcon.png
+share/webkit-1.0/webinspector/Images/warningsErrors.png
+@dirrm share/webkit-1.0/webinspector/Images
+@dirrm share/webkit-1.0/webinspector
+@dirrm share/webkit-1.0/resources
+@dirrm share/webkit-1.0
+@dirrm include/webkit-1.0/webkit
+@dirrm include/webkit-1.0/JavaScriptCore
+@dirrm include/webkit-1.0