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

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

libgtkhtml4: update to version 4.8.4.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 123651 2014-08-12 01:56:29Z 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 \
18                GtkHTML4 is a lightweight HTML rendering/printing/editing \
19                engine for GTK+ 3. It was originally based on KHTMLW, part of the \
20                KDE project, but is now being developed independently.
21
22homepage        https://wiki.gnome.org/RoadMap/GtkHtml
23master_sites    gnome:sources/${gname}/${branch}/
24distname        ${gname}-${version}
25
26use_xz          yes
27
28checksums       rmd160  c5318da1a3f009fdf346dd33db3ada4a8000bc54 \
29                sha256  00363771f5c5fef28ec90bcd643d9375d61efa6c88e770e874c3b64d3cf3b25d
30
31depends_build   port:pkgconfig \
32                port:intltool
33
34depends_lib     port:gtk3 \
35                port:enchant \
36                port:gsettings-desktop-schemas \
37                port:iso-codes \
38                port:orbit2 \
39                port:libsoup \
40                port:gnuregex
41
42patchfiles      patch-gnuregex.diff \
43                patch-components-editor-Makefile.am.diff
44
45# update m4/intltool.m4 and autoreconf
46
47pre-configure {
48    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
49}
50
51use_autoreconf  yes
52autoreconf.args -fvi
53
54configure.args  --disable-silent-rules
55
56test.run        yes
57test.dir        $worksrcpath/gtkhtml
58test.target     test-verbose
59
60variant glade description {Build glade catalog} {
61    depends_lib-append port:glade
62    configure.args-append --with-glade-catalog
63}
64
65post-destroot {
66    move ${destroot}${prefix}/bin/gtkhtml-editor-test  ${destroot}${prefix}/bin/gtkhtml-editor-test-4.0
67}
68
69livecheck.type  gnome
70livecheck.name  ${gname}
Note: See TracBrowser for help on using the repository browser.