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

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

bump revisions on some ports affected by icu library version change
(there may still be others)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.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 85597 2011-10-15 00:56:45Z dports@macports.org $
3
4PortSystem      1.0
5
6name            webkit-gtk
7epoch           1
8version         1.2.7
9revision        1
10description     Apple's WebKit HTML rendering library for GTK+
11long_description ${description}
12maintainers     gmail.com:myschizobuddy devans
13categories      www gnome
14platforms       darwin freebsd
15license     LGPL-2+ BSD
16homepage        http://webkitgtk.org/
17master_sites    ${homepage}
18
19distname        webkit-${version}
20
21checksums       md5     25c7e548b65aeb6d83c0182c32ef0927 \
22                sha1    e9afc573d2459794c3749ba404f2187f9dcc9ed3 \
23                rmd160  f36b3ae05693e0eeb4d1936ceee52b6fe1517e57
24
25patchfiles      patch-WebKitTools-DumpRenderTree-gtk-TestNetscapePlugin-TestNetscapePlugin.cpp.diff \
26                patch-TextBreakIterator.diff\
27                patch-WebCore-config-h.diff \
28                patch-GNUmakefile.in.diff
29
30depends_lib     \
31        port:gtk2 \
32        port:libsoup \
33        port:icu \
34        port:libxslt \
35        port:sqlite3 \
36        port:enchant \
37        port:gst-plugins-base \
38        port:xorg-libXt
39       
40depends_build   \
41        port:pkgconfig \
42        port:gtk-doc
43
44# TODO: Use muniversal, so this is detected per arch
45configure.args  \
46        --enable-jit=no \
47        --enable-introspection=no
48
49# BUILD FIX TODO: clang C++
50# clang has trouble with webkit-1.2.7's C++ as of 2011.06.28
51if {${configure.compiler} == "clang"} {
52    configure.compiler llvm-gcc-4.2
53}
54
55post-patch {
56    reinplace "s|-licucore|-licui18n -licuuc|" ${worksrcpath}/configure
57    reinplace "s|@@CPP@@|${configure.cpp}|" ${worksrcpath}/GNUmakefile.in
58
59    # For some reason, this isn't getting created for some people... ? /shrug
60    file mkdir ${worksrcpath}/DerivedSources
61}
62
63# keep it for debug
64post-destroot {
65    file copy ${worksrcpath}/Programs/.libs/GtkLauncher ${destroot}${prefix}/bin
66}
67
68# see bug #24622
69variant quartz {
70    configure.args-append    --with-font-backend=pango --with-target=quartz
71    depends_lib-delete port:xorg-libXt
72    patchfiles-append  patch-quartz-WebCore-plugins-gtk-gtkxtbin.c.diff \
73                       patch-quartz-WebCore-plugins-gtk-PluginViewGtk.cpp.diff
74}
75
76#
77# video is now enabled by default so make the variant no_video
78#
79
80variant no_video description {Disable HTML5 video support using gstreamer} {
81        depends_lib-delete      port:gst-plugins-base
82        configure.args-append   --disable-video
83}
84
85#
86# add new variant to support gnome_keyring
87#
88
89variant gnome_keyring description {Enable support for gnomekeyring} {
90        depends_lib-append      port:libgnome-keyring
91        configure.args-append   --enable-gnomekeyring
92}
93
94#
95# variant to enable filter support which is disabled by default
96#
97
98variant filters description {Enable support for SVG filters (experimental)} {
99        configure.args-append   --enable-filters
100}
101
102#
103# all svg support (except filters) is enabled by default
104#
105
106variant no_svg description {Disable all SVG support} {
107        configure.args-append   --disable-svg
108}
109
110# compile bug when building 1.2.1 on Tiger,
111# see https://bugs.webkit.org/show_bug.cgi?id=39847
112platform darwin 8 {
113        patchfiles-append patch-JavascriptCore-wtf-FastMalloc.cpp.diff
114}
115
116livecheck.type  regex
117livecheck.url   http://webkitgtk.org/?page=download
118livecheck.regex webkit-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.