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

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

webkit-gtk: Workaround a possible build failure for some people

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 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 63225 2010-01-29 22:57:27Z jeremyhu@macports.org $
3
4PortSystem      1.0
5
6name            webkit-gtk
7version         1.1.15.4
8revision        0
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     47301fb7120421ac38bf714db8f5d428 \
21                    sha1    0778b130720756d880c2bbe9eeef79f35bcf861a \
22                    rmd160  dcfae86f7a2fc63b478741b370ac620d1659513e
23
24patchfiles      patch-WebKitTools-DumpRenderTree-gtk-TestNetscapePlugin-TestNetscapePlugin.cpp.diff \
25                TextBreakIterator.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       
36depends_build   \
37        port:pkgconfig \
38        port:gtk-doc
39
40# TODO: Use muniversal, so this is detected per arch
41configure.args  \
42        --enable-jit=no
43
44post-patch {
45    reinplace "s|-licucore|-licui18n -licuuc|" ${worksrcpath}/configure
46
47    # For some reason, this isn't getting created for some people... ? /shrug
48    file mkdir ${worksrcpath}/DerivedSources
49}
50
51#
52# video is now enabled by default so make the variant no_video
53#
54
55variant no_video description {Disable HTML5 video support using gstreamer} {
56        depends_lib-delete      port:gst-plugins-base
57        configure.args-append   --disable-video
58}
59
60#
61# add new variant to support gnome_keyring
62#
63
64variant gnome_keyring description {Enable support for gnomekeyring} {
65        depends_lib-append      port:gnome-keyring
66        configure.args-append   --enable-gnomekeyring
67}
68
69#
70# variant to enable filter support which is disabled by default
71# was svg_filters previously but renamed to follow configure arg usage
72#
73
74variant filters description {Enable support for SVG filters (experimental)} {
75        configure.args-append   --enable-filters
76}
77
78#
79# include dummy variant to ease transition from svg_filters to filters
80#
81
82variant svg_filters requires filters description {Build with +filters if +svg_filters was previously installed} {
83}
84
85#
86# all svg support (except filters) is enabled by default
87#
88
89variant no_svg description {Disable all SVG support} {
90        configure.args-append   --disable-svg
91}
92
93livecheck.type  regex
94livecheck.url   http://webkitgtk.org/?page=download
95livecheck.regex "webkit-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.