# $Id$ PortSystem 1.0 name ucspi-tcp version 0.88 revision 1 categories net platforms darwin maintainers nomaintainer description command-line tools for building TCP client-server applications long_description tcpserver waits for incoming connections and, for each \ connection, runs a program of your choice. Your program receives \ environment variables showing the local and remote host names, IP \ addresses, and port numbers. tcpclient makes a TCP connection and \ runs a program of your choice. It sets up the same environment \ variables as tcpserver. homepage http://cr.yp.to/ucspi-tcp.html master_sites http://cr.yp.to/ucspi-tcp/ checksums md5 39b619147db54687c4a583a7a94c9163 configure { reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/conf-home reinplace "s%/etc/dnsrewrite%${prefix}&%" ${worksrcpath}/dns_rcrw.c } build.target destroot.target setup post-destroot { reinplace "s|${destroot}${prefix}|${prefix}|g" \ ${destroot}${prefix}/bin/finger@ ${destroot}${prefix}/bin/http@ \ ${destroot}${prefix}/bin/mconnect ${destroot}${prefix}/bin/tcpcat \ ${destroot}${prefix}/bin/who@ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} CHANGES README TODO VERSION \ ${destroot}${prefix}/share/doc/${name} }