source: trunk/dports/gnome/libgtkhtml3/Portfile

Last change on this file was 140935, checked in by devans@…, 22 months ago

libgtkhtml3: apply upstream patch to remove unnecessary dependency on deprecated gnome-icon-theme, depending on gtk2 is sufficient, increment revision to rebuild.

  • 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 140935 2015-10-05 22:38:02Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            libgtkhtml3
7set my_name     gtkhtml
8version         3.32.2
9revision        6
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-common \
34                port:autoconf \
35                port:automake \
36                port:libtool
37
38depends_lib     port:libsoup \
39                port:enchant \
40                port:iso-codes \
41                port:gtk2 \
42                port:gconf \
43                port:orbit2 \
44                port:gnuregex
45
46patchfiles      patch-configure.ac.diff \
47                patch-components-editor-Makefile.am.diff \
48                patch-gtkhtml-editor.xml.diff
49
50# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
51
52post-patch {
53    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
54}
55
56configure.cmd   ./autogen.sh
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.