# -*- 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 libgtkhtml4 set gname gtkhtml version 4.10.0 set branch [join [lrange [split ${version} .] 0 1] .] maintainers devans openmaintainer categories gnome license LGPL platforms darwin description GTK+ 3 HTML rendering/editing engine. long_description GtkHTML4 is a lightweight HTML rendering/printing/editing \ engine for GTK+ 3. 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/${gname}/${branch}/ distname ${gname}-${version} use_xz yes checksums rmd160 9bd115a37c2b36b3eafdd837205de2a780009d74 \ sha256 ca3b6424fb2c7ac5d9cb8fdafb69318fa2e825c9cf6ed17d1e38d9b29e5606c3 depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:gtk3 \ port:enchant \ port:gsettings-desktop-schemas \ port:iso-codes \ port:orbit2 \ port:libsoup \ port:gnuregex patchfiles patch-gnuregex.diff \ patch-components-editor-Makefile.am.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --disable-silent-rules test.run yes test.dir $worksrcpath/gtkhtml test.target test-verbose variant glade description {Build glade catalog} { depends_lib-append port:glade configure.args-append --with-glade-catalog } post-destroot { move ${destroot}${prefix}/bin/gtkhtml-editor-test ${destroot}${prefix}/bin/gtkhtml-editor-test-4.0 } livecheck.type gnome livecheck.name ${gname}