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

Last change on this file since 51558 was 51558, checked in by devans@…, 11 years ago

webkit-gtk: use reinplace rather than patch and autoconf to set icu library params in configure. Closes #19779.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 51558 2009-05-27 22:09:30Z devans@macports.org $
3
4PortSystem      1.0
5
6name            webkit-gtk
7version         1.1.7
8epoch           1
9description     Apple's WebKit HTML rendering library for GTK+
10long_description ${description}
11maintainers     gmail.com:myschizobuddy devans
12categories      www gnome
13platforms       darwin freebsd
14homepage        http://webkitgtk.org/
15master_sites    ${homepage}
16
17distname        webkit-${version}
18
19checksums       md5     f681773e29898509741cd3bc293816f4 \
20                sha1    77d27ab8f0d74ddda349ea9e4416d27d9adb8b61 \
21                rmd160  63dea479e23b62ae6d0abb0e5559c35eed34466d
22
23depends_lib     \
24        port:gtk2 \
25        port:libsoup \
26        port:icu \
27        port:libxslt \
28        port:sqlite3 \
29        port:enchant \
30        port:gst-plugins-base
31       
32
33depends_build   \
34        port:pkgconfig
35
36post-patch {
37    reinplace "s|-licucore|-licui18n -licuuc|" ${worksrcpath}/configure
38}
39
40#
41# video is now enabled by default so make the variant no_video
42#
43
44variant no_video description {Disable HTML5 video support using gstreamer} {
45        depends_lib-delete      port:gst-plugins-base
46        configure.args-append   --disable-video
47}
48
49#
50# add new variant to support gnome_keyring
51#
52
53variant gnome_keyring description {Enable support for gnomekeyring} {
54        depends_lib-append      port:gnome-keyring
55        configure.args-append   --enable-gnomekeyring
56}
57
58#
59# add new variant to enable svg filter support which is disabled by default
60# old --enable-experimental configure arg is no longer available
61#
62
63variant svg_filters description {Enable support for SVG filters (experimental)} {
64        configure.args-append   --enable-svg-filters
65}
66
67#
68# all svg support (except filters) is enabled by default
69#
70
71variant no_svg description {Disable all SVG support} {
72        configure.args-append   --disable-svg
73}
74
75livecheck.check regex
76livecheck.url   http://webkitgtk.org/?page=download
77livecheck.regex "webkit-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.