# -*- 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 PortSystem 1.0 PortGroup golang 1.0 go.setup github.com/joewalnes/websocketd 0.4.1 v github.tarball_from archive revision 1 description \ Turn any program that uses STDIN/STDOUT into a WebSocket server. Like \ inetd, but for WebSockets. long_description \ ${name} is a small command-line tool that will wrap an existing \ command-line interface program, and allow it to be accessed via a \ WebSocket. WebSocket-capable applications can now be built very easily. \ As long as you can write an executable program that reads STDIN and \ writes to STDOUT, you can build a WebSocket server. Do it in Python, \ Ruby, Perl, Bash, .NET, C, Go, PHP, Java, Clojure, Scala, Groovy, Expect, \ Awk, VBScript, Haskell, Lua, R, whatever! No networking libraries \ necessary. categories net devel installs_libs no license BSD maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer build.pre_args-append \ -ldflags \"-X main.version=${version}\" destroot { xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ xinstall -d ${destroot}${prefix}/share/man/man1 xinstall -m 0444 ${worksrcpath}/release/${name}.man \ ${destroot}${prefix}/share/man/man1/${name}.1 } checksums ${distname}${extract.suffix} \ rmd160 cee9742c6067ec6ffdabd909ec97936335e40d19 \ sha256 6b8fe0fad586d794e002340ee597059b2cfc734ba7579933263aef4743138fe5 \ size 46366 go.vendors github.com/gorilla/websocket \ lock v1.4.0 \ rmd160 bfe52c2f272de53ac87066505cc628cbd6c0e608 \ sha256 fbed81f8d0d5057c40e4ac8d4c26e073034f09f14efdd9e078f4c85aeb230605 \ size 50247