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

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

webkit-gtk: apply patch from #19867.

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