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

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

libglade2, webkit-gtk: rev bump for jpeg 7 (#22869)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 61521 2009-12-13 22:06:09Z vinc17@macports.org $
3
4PortSystem      1.0
5
6name            webkit-gtk
7version         1.1.10
8revision        4
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     b852753b3e21f010f565312132f88311 \
21                sha1    8f0637c936b4f62fb21c8d0c35298e5c0317fd0a \
22                rmd160  c3d5a7b9793318d0fc9f4d170b7aeac7a6f30735
23
24patchfiles      patch-WebKitTools-DumpRenderTree-gtk-TestNetscapePlugin-TestNetscapePlugin.cpp.diff \
25                patch-purgable-buffer.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       
36
37depends_build   \
38        port:pkgconfig \
39        port:gtk-doc
40
41post-patch {
42    reinplace "s|-licucore|-licui18n -licuuc|" ${worksrcpath}/configure
43}
44
45if {${os.major} > 9} {
46    configure.args-append --enable-jit=no
47}
48
49#
50# video is now enabled by default so make the variant no_video
51#
52
53variant no_video description {Disable HTML5 video support using gstreamer} {
54        depends_lib-delete      port:gst-plugins-base
55        configure.args-append   --disable-video
56}
57
58#
59# add new variant to support gnome_keyring
60#
61
62variant gnome_keyring description {Enable support for gnomekeyring} {
63        depends_lib-append      port:gnome-keyring
64        configure.args-append   --enable-gnomekeyring
65}
66
67#
68# variant to enable filter support which is disabled by default
69# was svg_filters previously but renamed to follow configure arg usage
70#
71
72variant filters description {Enable support for SVG filters (experimental)} {
73        configure.args-append   --enable-filters
74}
75
76#
77# include dummy variant to ease transition from svg_filters to filters
78#
79
80variant svg_filters requires filters description {Build with +filters if +svg_filters was previously installed} {
81}
82
83#
84# all svg support (except filters) is enabled by default
85#
86
87variant no_svg description {Disable all SVG support} {
88        configure.args-append   --disable-svg
89}
90
91livecheck.type  regex
92livecheck.url   http://webkitgtk.org/?page=download
93livecheck.regex "webkit-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.