# -*- 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
description proxy (tunnel, redirector) for TCP/IP protocols
long_description ${name} is a ${description}.
homepage http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy
master_sites http://www.quietsche-entchen.de/download/
checksums sha1 81039e5eb1e6a9dfac267c77840a9e2c9a9a98f9 \
rmd160 f4a622a6e94de7cbc08828a8fc7ef5f73ca58ebd
patchfiles patch-tcpproxy.diff
reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/tcpproxy.h
build.args CC="${configure.cc} [get_canonical_archflags cc]"
xinstall -s -m 755 ${worksrcpath}/tcpproxy ${destroot}${prefix}/sbin
xinstall -m 644 ${worksrcpath}/tcpproxy.1 \
${destroot}${prefix}/share/man/man1
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README \
${destroot}${prefix}/share/doc/${name}