source: trunk/dports/gnome/libgtkhtml3/Portfile @ 128176

Last change on this file since 128176 was 120079, checked in by devans@…, 6 years ago

libgtkhtml3: update m4/intltool.m4 and autoreconf to fix intltool configuration, add +glade variant to enable build of glade3 catalog items.

  • 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 120079 2014-05-14 23:39:01Z devans@macports.org $
3
4PortSystem      1.0
5
6name            libgtkhtml3
7set my_name     gtkhtml
8version         3.32.2
9revision        5
10set branch      [join [lrange [split ${version} .] 0 1] .]
11
12maintainers     nomaintainer
13categories      gnome
14license         LGPL
15platforms       darwin
16description     GTK HTML rendering engine.
17
18long_description \
19    GtkHTML is a lightweight HTML rendering/printing/editing \
20    engine. It was originally based on KHTMLW, part of the \
21    KDE project, but is now being developed independently.
22
23homepage        https://wiki.gnome.org/RoadMap/GtkHtml
24master_sites    gnome:sources/${my_name}/${branch}/
25distname        ${my_name}-${version}
26use_bzip2       yes
27
28checksums       rmd160  b71afbd07c658c2ec6ac285cc428ac1943d39e46 \
29                sha256  8746053cf709e1de37c7ac775ab1364ddda4b75167660ed7f98a237b3797e39f
30
31depends_build   port:pkgconfig \
32                port:intltool \
33                port:gnome-icon-theme
34
35depends_lib     port:libsoup \
36                port:enchant \
37                port:iso-codes \
38                port:gtk2 \
39                port:gconf \
40                port:orbit2 \
41                port:gnuregex
42
43depends_run     port:gnome-icon-theme
44
45patchfiles      patch-configure.ac.diff \
46                patch-components-editor-Makefile.am.diff \
47                patch-gtkhtml-editor.xml.diff
48
49# update m4/intltool.m4 and autoreconf
50
51pre-configure {
52    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
53}
54
55use_autoreconf  yes
56autoreconf.args -fvi
57
58configure.args  --enable-deprecated-warning-flags=no \
59                --disable-silent-rules
60
61test.run        yes
62test.dir        $worksrcpath/gtkhtml
63test.target     test-verbose
64
65variant glade description {Build glade widget catalog} {
66    depends_lib-append port:glade3
67    configure.args-append --with-glade-catalog
68}
69
70livecheck.type  gnome
71livecheck.name  ${my_name}
72livecheck.regex {LATEST-IS-(3\.\d*[02468](?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.