# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
description an interface to TCP sockets at shell level
Socket(1) implements an interface to TCP sockets at shell level. Client and server sockets can be used from shell scripts or interactively. Socket can also run a program with stdin, stdout, and stderr connected to the socket connection. A number of sample shell scripts are included.
homepage http://www.jnickelsen.de/socket/
checksums md5 cab42be83b4c0aa42819cc95734c0c58 \
sha1 52562b2600f7b214e8200db0ef43a395b7a6ccd7 \
rmd160 f1fc8dd7574bc161b74f55a1e9c4893f43a451cc
patchfiles patch-Makefile.diff
reinplace "s,@prefix@,${destroot}${prefix}," ${worksrcpath}/Makefile
if { [variant_isset universal] } {
reinplace "s,@cflags@,${configure.universal_cflags}," ${worksrcpath}/Makefile
reinplace "s,@ldflags@,${configure.universal_ldflags}," ${worksrcpath}/Makefile
reinplace "s,@cflags@,," ${worksrcpath}/Makefile
reinplace "s,@ldflags@,," ${worksrcpath}/Makefile
build.args CC=${configure.cc}