# $Id: Portfile,v 1.6 2006/03/12 22:53:41 mww Exp $

PortSystem 1.0

name		prtunnel
version		0.2.7
categories	net
platforms	darwin
maintainers	mww@opendarwin.org
description	tunnel TCP/IP through HTTP and SOCKS5 proxy servers
long_description	prtunnel is a program that can tunnel TCP/IP \
			connections in a variety of ways, including through \
			HTTP and SOCKS5 proxy servers.

homepage		http://www.joshbeam.com/software/prtunnel.php
master_sites	http://www.joshbeam.com/files/
checksums		sha1 de6ecd783ceeae841e27a436bc04e4b1de7989f8

use_configure	no

build.target

destroot {
	xinstall -m 755 -s ${worksrcpath}/prtunnel ${destroot}${prefix}/bin
	xinstall -m 644 ${worksrcpath}/prtunnel.1 \
		${destroot}${prefix}/share/man/man1/
}

platform darwin 8 {
	build.args-append	CC=/usr/bin/gcc-4.0
}
