# -*- 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 name vte version 0.36.2 set branch [join [lrange [split $version .] 0 1] .] maintainers nomaintainer 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 03d63b7c0730ace7b4c1f01375a409f00a2ca8d8 \ sha256 f45eed3aed823068c7563345ea947be0e6ddb3dacd74646e6d7d26a921e04345 depends_build port:pkgconfig \ port:intltool \ port:gtk-doc depends_lib port:gtk3 \ port:gobject-introspection patchfiles patch-src-vteutils.c.diff # autoreconf with our intltool.m4 use_autoreconf yes autoreconf.args -fvi configure.args --enable-glade-catalogue=no \ --disable-Bsymbolic \ --enable-introspection=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}/libvte2_90.dylib ${destroot}${libdir}/libvte2_90.so } } livecheck.type gnome