summaryrefslogtreecommitdiffstats
path: root/www/webkit-gtk3/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-07-05 19:31:47 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-07-05 19:31:47 +0800
commit910ed5f4ecfca362ba908a3f74a888b6e78022ff (patch)
tree22620cf937e63129c95566c62e890764d59ff1e3 /www/webkit-gtk3/Makefile
parentf3d3f4417430d4ee8b0345c79ea7459bc2af3255 (diff)
downloadmarcuscom-ports-910ed5f4ecfca362ba908a3f74a888b6e78022ff.tar
marcuscom-ports-910ed5f4ecfca362ba908a3f74a888b6e78022ff.tar.gz
marcuscom-ports-910ed5f4ecfca362ba908a3f74a888b6e78022ff.tar.bz2
marcuscom-ports-910ed5f4ecfca362ba908a3f74a888b6e78022ff.tar.lz
marcuscom-ports-910ed5f4ecfca362ba908a3f74a888b6e78022ff.tar.xz
marcuscom-ports-910ed5f4ecfca362ba908a3f74a888b6e78022ff.tar.zst
marcuscom-ports-910ed5f4ecfca362ba908a3f74a888b6e78022ff.zip
Update to 1.3.2.
Gtk2 version and a Gtk3 version. Only thing I changed is a local patch to the locale files so they are parrallel installable. So if you notice problems with translation, let me know. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14294 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/webkit-gtk3/Makefile')
-rw-r--r--www/webkit-gtk3/Makefile106
1 files changed, 106 insertions, 0 deletions
diff --git a/www/webkit-gtk3/Makefile b/www/webkit-gtk3/Makefile
new file mode 100644
index 000000000..12ed70e87
--- /dev/null
+++ b/www/webkit-gtk3/Makefile
@@ -0,0 +1,106 @@
+# New ports collection makefile for: webkit
+# Date created: 2007-10-21
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/www/webkit-gtk2/Makefile,v 1.62 2010/05/29 15:58:17 kwm Exp $
+#
+
+PORTNAME= webkit
+PORTVERSION= 1.3.2
+CATEGORIES= www
+MASTER_SITES= http://webkitgtk.org/
+PKGNAMESUFFIX= -gtk3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= An opensource browser engine
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
+ ${LOCALBASE}/bin/gperf:${PORSTDIR}/devel/gperf
+LIB_DEPENDS= enchant.1:${PORTSDIR}/textproc/enchant \
+ curl.6:${PORTSDIR}/ftp/curl \
+ sqlite3.8:${PORTSDIR}/databases/sqlite3 \
+ soup-2.4.1:${PORTSDIR}/devel/libsoup
+
+WANT_GSTREAMER= yes
+MAKE_JOBS_SAFE= yes
+USE_XORG= xt
+USE_BISON= build
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:22
+USE_GNOME= gtk30 libxslt ltverhack:0
+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_GPERF="${LOCALBASE}/bin/gperf" \
+ ac_cv_path_DOLT_BASH=""
+CONFIGURE_ARGS= --enable-icon-database \
+ --enable-svg \
+ --enable-svg-fonts \
+ --with-gtk=3.0
+MAKEFILE= GNUmakefile
+
+BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3
+#_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|^/|"|:S|/|", "|g}",
+
+OPTIONS= VIDEO "Enable video support" on \
+ DEBUG "Build with debug support" off \
+ STATIC "Enable building static library" off
+
+.include <bsd.port.pre.mk>
+
+.if exists (${LOCALBASE}/lib/libicutu.so.43)
+LIB_DEPENDS+= icutu.43:${PORTSDIR}/devel/icu4
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-WebCore_platform_text_TextBreakIterator.h
+.else
+LIB_DEPENDS+= icutu.38:${PORTSDIR}/devel/icu
+.endif
+
+.if defined(WITH_VIDEO)
+USE_GSTREAMER+= yes
+CONFIGURE_ARGS+=--enable-video
+.else
+CONFIGURE_ARGS+=--disable-video
+.endif
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--enable-debug
+.else
+CONFIGURE_ARGS+=--disable-debug
+.endif
+
+.if defined(WITH_STATIC)
+CONFIGURE_ARGS+=--enable-static
+PLIST_SUB+= STATIC=""
+.else
+PLIST_SUB+= STATIC="@comment "
+.endif
+
+.if ${OSVERSION} < 700000
+BROKEN= does not compile on 6.X
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \
+ ${WRKSRC}/WebCore/plugins/PluginDatabase.cpp
+ @${REINPLACE_CMD} -e 's|"gperf|"${LOCALBASE}/bin/gperf|g' \
+ ${WRKSRC}/WebCore/make-hash-tools.pl \
+ ${WRKSRC}/WebCore/css/makevalues.pl \
+ ${WRKSRC}/WebCore/css/makeprop.pl
+ @${REINPLACE_CMD} -e 's|GETTEXT_PACKAGE=$$PACKAGE|GETTEXT_PACKAGE=$$PACKAGE-3.0|g' \
+ ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name GNUmakefile.* | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
+.if !defined(WITH_STATIC)
+ @${REINPLACE_CMD} -e 's|^build_old_libs=yes|build_old_libs=no|' \
+ ${WRKDIR}/gnome-libtool
+.endif
+ @${REINPLACE_CMD} -e 's|/usr/bin/gcc|${CC}|' \
+ ${WRKSRC}/WebCore/dom/make_names.pl \
+ ${WRKSRC}/WebCore/css/make-css-file-arrays.pl \
+ ${WRKSRC}/WebCore/bindings/scripts/IDLParser.pm
+
+.include <bsd.port.post.mk>