# -*- 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 active_variants 1.1 name putty version 0.66 revision 1 categories security net platforms darwin maintainers nomaintainer license MIT description a free implementation of Telnet and SSH, along with an \ xterm terminal emulator long_description PuTTY is ${description} homepage http://www.chiark.greenend.org.uk/~sgtatham/putty/ master_sites ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-${version}/ \ http://the.earth.li/~sgtatham/putty/${version}/ checksums rmd160 2121860be81416f96a93963e4771a1edfca279dc \ sha256 fe7312f66c54865868b362f4b79bd1fbe7ce9e8b1fd504b04034182db1f32993 worksrcdir ${worksrcdir}/unix depends_build port:pkgconfig # unix configure calls the configure in top folder patch.pre_args -d ${worksrcpath}/../ patchfiles patch-configure.diff configure.args-append --without-gtk configure.cppflags-delete -I${prefix}/include configure.cppflags-append -isystem${prefix}/include variant gui description {Build the GUI tools (including putty itself)} { depends_lib-append port:gtk2 configure.args-replace --without-gtk --with-gtk=2 require_active_variants gtk2 x11 } default_variants +gui livecheck.type regex livecheck.url ${homepage}download.html livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}