source: trunk/dports/gnome/libgtkhtml4/Portfile

Last change on this file was 140896, checked in by devans@…, 2 years ago

libgtkhtml4: update to version 4.10.0.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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 140896 2015-10-04 19:48:06Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libgtkhtml4
7set gname           gtkhtml
8version             4.10.0
9set branch          [join [lrange [split ${version} .] 0 1] .]
10
11maintainers         devans openmaintainer
12categories          gnome
13license             LGPL
14platforms           darwin
15description         GTK+ 3 HTML rendering/editing engine.
16
17long_description    GtkHTML4 is a lightweight HTML rendering/printing/editing \
18                    engine for GTK+ 3. It was originally based on KHTMLW, part of the \
19                    KDE project, but is now being developed independently.
20
21homepage            https://wiki.gnome.org/RoadMap/GtkHtml
22master_sites        gnome:sources/${gname}/${branch}/
23distname            ${gname}-${version}
24
25use_xz              yes
26
27checksums           rmd160  9bd115a37c2b36b3eafdd837205de2a780009d74 \
28                    sha256  ca3b6424fb2c7ac5d9cb8fdafb69318fa2e825c9cf6ed17d1e38d9b29e5606c3
29
30depends_build       port:pkgconfig \
31                    port:intltool \
32                    port:gnome-common \
33                    port:autoconf \
34                    port:automake \
35                    port:libtool
36
37depends_lib         port:gtk3 \
38                    port:enchant \
39                    port:gsettings-desktop-schemas \
40                    port:iso-codes \
41                    port:orbit2 \
42                    port:libsoup \
43                    port:gnuregex
44
45patchfiles          patch-gnuregex.diff \
46                    patch-components-editor-Makefile.am.diff
47
48# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
49
50post-patch {
51    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
52}
53
54configure.cmd       ./autogen.sh
55
56configure.args      --disable-silent-rules
57
58test.run            yes
59test.dir            $worksrcpath/gtkhtml
60test.target         test-verbose
61
62variant glade description {Build glade catalog} {
63    depends_lib-append port:glade
64    configure.args-append --with-glade-catalog
65}
66
67post-destroot {
68    move ${destroot}${prefix}/bin/gtkhtml-editor-test  ${destroot}${prefix}/bin/gtkhtml-editor-test-4.0
69}
70
71livecheck.type      gnome
72livecheck.name      ${gname}
Note: See TracBrowser for help on using the repository browser.