# -*- 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: Portfile 89023 2012-01-18 05:32:34Z ryandesign@macports.org $

PortSystem          1.0

name                putty
version             0.62
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  48324416005eb4b14654fc9e0e14d39f20971507 \
                    sha256  8d187e86ee18c839895d263607b61788778564e3720e8d85c5305a04f9da0573

depends_build       port:pkgconfig

depends_lib         port:gtk2

worksrcdir          ${worksrcdir}/unix

patchfiles          patch-Makefile.in.diff \
                    patch-configure.diff

configure.cppflags-delete -I${prefix}/include
configure.cppflags-append -isystem${prefix}/include
