# -*- 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 name tcpproxy version 2.0.0-beta15 categories net platforms darwin maintainers nomaintainer 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 post-patch { reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/tcpproxy.h } use_configure no variant universal {} if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } build.args CC="${configure.cc} ${archflags}" destroot { 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} }