# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup gobject_introspection 1.0
set branch [join [lrange [split $version .] 0 1] .]
description Terminal widget with improved accessibility and I18N support.
Terminal widget with improved font, internationalisation and \
accessibility support for the GNOME 2 desktop. Designed to \
homepage https://www.gnome.org/
master_sites gnome:sources/$gname/$branch/
distname ${gname}-${version}
checksums rmd160 8f3396d4e98023b74898e938331917b181964158 \
sha256 86cf0b81aa023fa93ed415653d51c96767f20b2d7334c893caba71e42654b0ae
depends_build port:pkgconfig \
patchfiles patch-getpt.diff
configure.args --with-gtk=2.0 \
configure.cflags-append -fstrict-aliasing
# rename gnome-pty-helper to avoid a conflict with port vte
move ${destroot}${prefix}/libexec/gnome-pty-helper ${destroot}${prefix}/libexec/gnome-pty-helper-0.0
reinplace "s| -export-symbols-regex.*||g" \
${worksrcpath}/python/Makefile.in
reinplace "s|-export-symbols-regex.*| \\\\|g" \
${worksrcpath}/src/Makefile.in