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

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

keep GtkLauncher (standalone browser) to ease investigating issues

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 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 68421 2010-06-03 05:38:39Z elelay@macports.org $
3
4PortSystem      1.0
5
6name            webkit-gtk
7epoch           1
8version         1.2.1
9revision        0
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     eb6f473d8d7be56ecd226e7dd55dcb9b \
21                    sha1    ced564514f0be0a88c696e7afd6902d967d532a2 \
22                    rmd160  f8c158b67fbcdfd9977edd530d5f8c15e402da6d
23
24patchfiles      patch-WebKitTools-DumpRenderTree-gtk-TestNetscapePlugin-TestNetscapePlugin.cpp.diff \
25                TextBreakIterator.diff\
26                patch-WebCore-config-h.diff
27
28depends_lib     \
29        port:gtk2 \
30        port:libsoup \
31        port:icu \
32        port:libxslt \
33        port:sqlite3 \
34        port:enchant \
35        port:gst-plugins-base
36       
37depends_build   \
38        port:pkgconfig \
39        port:gtk-doc
40
41# TODO: Use muniversal, so this is detected per arch
42configure.args  \
43        --enable-jit=no
44
45post-patch {
46    reinplace "s|-licucore|-licui18n -licuuc|" ${worksrcpath}/configure
47
48    # For some reason, this isn't getting created for some people... ? /shrug
49    file mkdir ${worksrcpath}/DerivedSources
50}
51
52# keep it for debug
53post-destroot {
54    file copy ${worksrcpath}/Programs/.libs/GtkLauncher ${destroot}${prefix}/bin
55}
56
57# see bug #24622
58variant quartz {
59    configure.args-append    --with-font-backend=pango --with-target=quartz
60    patchfiles-append  patch-quartz-WebCore-plugins-gtk-gtkxtbin.c.diff \
61                       patch-quartz-WebCore-plugins-gtk-PluginViewGtk.cpp.diff
62}
63
64#
65# video is now enabled by default so make the variant no_video
66#
67
68variant no_video description {Disable HTML5 video support using gstreamer} {
69        depends_lib-delete      port:gst-plugins-base
70        configure.args-append   --disable-video
71}
72
73#
74# add new variant to support gnome_keyring
75#
76
77variant gnome_keyring description {Enable support for gnomekeyring} {
78        depends_lib-append      port:gnome-keyring
79        configure.args-append   --enable-gnomekeyring
80}
81
82#
83# variant to enable filter support which is disabled by default
84# was svg_filters previously but renamed to follow configure arg usage
85#
86
87variant filters description {Enable support for SVG filters (experimental)} {
88        configure.args-append   --enable-filters
89}
90
91#
92# include dummy variant to ease transition from svg_filters to filters
93#
94
95variant svg_filters requires filters description {Build with +filters if +svg_filters was previously installed} {
96}
97
98#
99# all svg support (except filters) is enabled by default
100#
101
102variant no_svg description {Disable all SVG support} {
103        configure.args-append   --disable-svg
104}
105
106# compile bug when building 1.2.1 on Tiger,
107# see https://bugs.webkit.org/show_bug.cgi?id=39847
108platform darwin 8 {
109        patchfiles-append patch-JavascriptCore-wtf-FastMalloc.cpp.diff
110}
111
112livecheck.type  regex
113livecheck.url   http://webkitgtk.org/?page=download
114livecheck.regex "webkit-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.