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

Last change on this file since 75193 was 75193, checked in by dports@…, 9 years ago

Revbump a pile of other ports that indirectly depend on libpng

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