# $Id: Portfile,v 1.1 2004/10/28 16:39:06 mww Exp $

PortSystem 1.0

name			putty
version			0.56
categories		security
platforms		darwin
maintainers		mww@opendarwin.org
description		ssh tools pscp, psftp and plink from the Putty project
long_description	${description}

homepage		http://www.chiark.greenend.org.uk/~sgtatham/putty/
master_sites	ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/ \
				http://the.earth.li/~sgtatham/putty/latest/
checksums		md5 6b883cde04771f66e8bb35390935ed31

worksrcdir		${worksrcdir}/unix

patchfiles		patch-Makefile.gtk

use_configure	no

build.args		-f Makefile.gtk

destroot	{
	xinstall -m 755 -s -W ${worksrcpath} plink pscp psftp \
		${destroot}${prefix}/bin
	xinstall -m 644 -W ${worksrcpath}/../doc plink.1 pscp.1 psftp.1 \
		${destroot}${prefix}/share/man/man1
}
