# -*- 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 # $Id$ PortSystem 1.0 name libgtkhtml3 set my_name gtkhtml version 3.32.2 revision 5 set branch [join [lrange [split ${version} .] 0 1] .] maintainers nomaintainer categories gnome license LGPL platforms darwin description GTK HTML rendering engine. long_description \ GtkHTML is a lightweight HTML rendering/printing/editing \ engine. It was originally based on KHTMLW, part of the \ KDE project, but is now being developed independently. homepage https://wiki.gnome.org/RoadMap/GtkHtml master_sites gnome:sources/${my_name}/${branch}/ distname ${my_name}-${version} use_bzip2 yes checksums rmd160 b71afbd07c658c2ec6ac285cc428ac1943d39e46 \ sha256 8746053cf709e1de37c7ac775ab1364ddda4b75167660ed7f98a237b3797e39f depends_build port:pkgconfig \ port:intltool \ port:gnome-icon-theme depends_lib port:libsoup \ port:enchant \ port:iso-codes \ port:gtk2 \ port:gconf \ port:orbit2 \ port:gnuregex depends_run port:gnome-icon-theme patchfiles patch-configure.ac.diff \ patch-components-editor-Makefile.am.diff \ patch-gtkhtml-editor.xml.diff # update m4/intltool.m4 and autoreconf pre-configure { copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4 } use_autoreconf yes autoreconf.args -fvi configure.args --enable-deprecated-warning-flags=no \ --disable-silent-rules test.run yes test.dir $worksrcpath/gtkhtml test.target test-verbose variant glade description {Build glade widget catalog} { depends_lib-append port:glade3 configure.args-append --with-glade-catalog } livecheck.type gnome livecheck.name ${my_name} livecheck.regex {LATEST-IS-(3\.\d*[02468](?:\.\d+)*)}