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

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

webkit-gtk: Give this port a much needed bump to 1.6.3 (#32194)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 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 91898 2012-04-13 01:29:45Z jeremyhu@macports.org $
3
4PortSystem      1.0
5
6name            webkit-gtk
7epoch           1
8version         1.6.3
9description     Apple's WebKit HTML rendering library for GTK+
10long_description ${description}
11maintainers     gmail.com:myschizobuddy devans
12categories      www gnome
13platforms       darwin freebsd
14license     LGPL-2+ BSD
15homepage        http://webkitgtk.org/
16master_sites    http://webkitgtk.org/releases/
17
18use_xz          yes
19distname        webkit-${version}
20
21checksums       md5     c476d9335419df061510d31e21175df1 \
22                sha1    7df69608ef2ce9dd7328353b4ee34f69271cd43b \
23                rmd160  cc319ffe4c2810663ae05b90e69d9495f5c3f0aa
24
25depends_lib     \
26        port:gtk2 \
27        port:libsoup \
28        port:icu \
29        port:libxslt \
30        port:sqlite3 \
31        port:enchant \
32        port:gst-plugins-base \
33        port:xorg-libXt
34       
35depends_build   \
36        port:pkgconfig \
37        port:gtk-doc
38
39patchfiles \
40        case-insensitive.patch \
41        glib-2.32.patch
42
43# TODO: Use muniversal, so jit is detected per arch
44configure.args  \
45        --with-gtk=2.0 \
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    # For some reason, this isn't getting created for some people... ? /shrug
57    file mkdir ${worksrcpath}/DerivedSources
58}
59
60# keep it for debug
61post-destroot {
62    file copy ${worksrcpath}/Programs/.libs/GtkLauncher ${destroot}${prefix}/bin
63}
64
65# see bug #24622
66variant quartz {
67    configure.args-append    --with-font-backend=pango --with-target=quartz
68    depends_lib-delete port:xorg-libXt
69}
70
71#
72# video is now enabled by default so make the variant no_video
73#
74
75variant no_video description {Disable HTML5 video support using gstreamer} {
76        depends_lib-delete      port:gst-plugins-base
77        configure.args-append   --disable-video
78}
79
80#
81# add new variant to support gnome_keyring
82#
83
84variant gnome_keyring description {Enable support for gnomekeyring} {
85        depends_lib-append      port:libgnome-keyring
86        configure.args-append   --enable-gnomekeyring
87}
88
89#
90# variant to enable filter support which is disabled by default
91#
92
93variant filters description {Enable support for SVG filters (experimental)} {
94        configure.args-append   --enable-filters
95}
96
97#
98# all svg support (except filters) is enabled by default
99#
100
101variant no_svg description {Disable all SVG support} {
102        configure.args-append   --disable-svg
103}
104
105livecheck.type  regex
106livecheck.url   http://webkitgtk.org/?page=download
107livecheck.regex webkit-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.