source: trunk/dports/www/webkit-gtk/Portfile @ 52407

Last change on this file since 52407 was 52407, checked in by devans@…, 11 years ago

webkit-gtk:

  • update to version 1.10
  • update dependencies
  • fix Quickdraw/X11 namespace conflict in TestNetscapePlugin.cpp using method suggested by jeremyhu in #19346
  • rename variant svg_filters to filters to conform with current configure arg usage
  • retain svg_filters as stub to ease transition to filters when upgrading
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 52407 2009-06-16 03:13:11Z devans@macports.org $
3
4PortSystem      1.0
5
6name            webkit-gtk
7version         1.1.10
8epoch           1
9description     Apple's WebKit HTML rendering library for GTK+
10long_description ${description}
11maintainers     gmail.com:myschizobuddy devans
12categories      www gnome
13platforms       darwin freebsd
14homepage        http://webkitgtk.org/
15master_sites    ${homepage}
16
17distname        webkit-${version}
18
19checksums       md5     b852753b3e21f010f565312132f88311 \
20                sha1    8f0637c936b4f62fb21c8d0c35298e5c0317fd0a \
21                rmd160  c3d5a7b9793318d0fc9f4d170b7aeac7a6f30735
22
23patchfiles      patch-WebKitTools-DumpRenderTree-gtk-TestNetscapePlugin-TestNetscapePlugin.cpp.diff
24
25depends_lib     \
26        port:gtk2 \
27        port:libsoup \
28        port:icu \
29        port:libxslt \
30        port:sqlite3 \
31        port:enchant \
32        port:gst-plugins-base
33       
34
35depends_build   \
36        port:pkgconfig \
37        port:gtk-doc
38
39post-patch {
40    reinplace "s|-licucore|-licui18n -licuuc|" ${worksrcpath}/configure
41}
42
43#
44# video is now enabled by default so make the variant no_video
45#
46
47variant no_video description {Disable HTML5 video support using gstreamer} {
48        depends_lib-delete      port:gst-plugins-base
49        configure.args-append   --disable-video
50}
51
52#
53# add new variant to support gnome_keyring
54#
55
56variant gnome_keyring description {Enable support for gnomekeyring} {
57        depends_lib-append      port:gnome-keyring
58        configure.args-append   --enable-gnomekeyring
59}
60
61#
62# variant to enable filter support which is disabled by default
63# was svg_filters previously but renamed to follow configure arg usage
64#
65
66variant filters description {Enable support for SVG filters (experimental)} {
67        configure.args-append   --enable-filters
68}
69
70#
71# include dummy variant to ease transition from svg_filters to filters
72#
73
74variant svg_filters requires filters description {Build with +filters if +svg_filters was previously installed} {
75}
76
77#
78# all svg support (except filters) is enabled by default
79#
80
81variant no_svg description {Disable all SVG support} {
82        configure.args-append   --disable-svg
83}
84
85livecheck.check regex
86livecheck.url   http://webkitgtk.org/?page=download
87livecheck.regex "webkit-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.