source: trunk/dports/gnome/libgtkhtml4/Portfile @ 127267

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

gnome-system-monitor, libgtkhtml4, metacity: reformat, white space only.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 127267 2014-10-24 15:08:19Z devans@macports.org $
3
4PortSystem          1.0
5
6name                libgtkhtml4
7set gname           gtkhtml
8version             4.8.4
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  c5318da1a3f009fdf346dd33db3ada4a8000bc54 \
28                    sha256  00363771f5c5fef28ec90bcd643d9375d61efa6c88e770e874c3b64d3cf3b25d
29
30depends_build       port:pkgconfig \
31                    port:intltool
32
33depends_lib         port:gtk3 \
34                    port:enchant \
35                    port:gsettings-desktop-schemas \
36                    port:iso-codes \
37                    port:orbit2 \
38                    port:libsoup \
39                    port:gnuregex
40
41patchfiles          patch-gnuregex.diff \
42                    patch-components-editor-Makefile.am.diff
43
44# update m4/intltool.m4 and autoreconf
45
46pre-configure {
47    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
48}
49
50use_autoreconf      yes
51autoreconf.args     -fvi
52
53configure.args      --disable-silent-rules
54
55test.run            yes
56test.dir            $worksrcpath/gtkhtml
57test.target         test-verbose
58
59variant glade description {Build glade catalog} {
60    depends_lib-append port:glade
61    configure.args-append --with-glade-catalog
62}
63
64post-destroot {
65    move ${destroot}${prefix}/bin/gtkhtml-editor-test  ${destroot}${prefix}/bin/gtkhtml-editor-test-4.0
66}
67
68livecheck.type      gnome
69livecheck.name      ${gname}
Note: See TracBrowser for help on using the repository browser.