# -*- 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 # $Id$ PortSystem 1.0 PortGroup gobject_introspection 1.0 name vte version 0.40.2 set branch [join [lrange [split $version .] 0 1] .] maintainers devans openmaintainer categories gnome license LGPL platforms darwin description VTE is a library (libvte) implementing a terminal emulator widget for GTK+, \ and a minimal sample application (vte) using that. long_description ${description} \ Vte is mainly used in gnome-terminal, but can also be used to embed a \ console/terminal in games, editors, IDEs, etc. homepage https://wiki.gnome.org/Apps/Terminal/VTE master_sites gnome:sources/$name/$branch/ use_xz yes checksums rmd160 18b778f8067df86bbc57e74d246c47bf2f258b89 \ sha256 9b68fbc16b27f2d79e6271f2b0708808594ac5acf979d0fccea118608199fd2d depends_build port:pkgconfig \ port:intltool \ port:gtk-doc \ port:autoconf \ port:automake \ port:libtool depends_lib port:gtk3 \ port:gnutls \ port:zlib \ port:vala depends_run port:gnome-themes-standard patchfiles patch-src-vteutils.c.diff \ patch-src-Makefile.am.diff gobject_introspection yes # 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 --enable-glade-catalogue=no \ --disable-Bsymbolic \ --enable-vala=yes configure.cflags-append -fstrict-aliasing variant glade description {Enable building of glade catalog items} { depends_lib-append port:glade configure.args-replace --enable-glade-catalogue=no --enable-glade-catalogue=yes } # glade expects catalog modules and libraries to have a .so suffix post-destroot { if {[variant_isset glade]} { set libdir ${prefix}/lib ln -s ${libdir}/libvte-2.91.dylib ${destroot}${libdir}/libvte-2.91.so } } livecheck.type gnome