--- www/Makefile (revision 465330) +++ www/Makefile (working copy) @@ -2453,6 +2453,7 @@ SUBDIR += webreport SUBDIR += webresolve SUBDIR += websh + SUBDIR += websocketd SUBDIR += webstats SUBDIR += webstone SUBDIR += webstone-ssl --- www/websocketd/Makefile (nonexistent) +++ www/websocketd/Makefile (working copy) @@ -0,0 +1,26 @@ +# Created by: Guangyuan Yang +# $FreeBSD$ + +PORTNAME= websocketd +DISTVERSION= 0.3.0 +CATEGORIES= www +MASTER_SITES= https://github.com/joewalnes/${PORTNAME}/releases/download/v${DISTVERSION}/ +DISTNAME= ${PORTNAME}-${DISTVERSION}-freebsd_${ARCH:S/i386/386/:S/x86_64/amd64/} + +MAINTAINER= ygy@FreeBSD.org +COMMENT= Access any command-line tool via a WebSocket + +LICENSE= BSD2CLAUSE + +ONLY_FOR_ARCHS= amd64 i386 + +NO_WRKSUBDIR= yes +PLIST_FILES= bin/${PORTNAME} + +NO_BUILD= yes +USES= zip + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +.include --- www/websocketd/distinfo (nonexistent) +++ www/websocketd/distinfo (working copy) @@ -0,0 +1,5 @@ +TIMESTAMP = 1521782495 +SHA256 (websocketd-0.3.0-freebsd_amd64.zip) = 89e3c0b007a643c870c6b59eecb611cb0757780fcabe402bbb6cbb190ab478be +SIZE (websocketd-0.3.0-freebsd_amd64.zip) = 2555193 +SHA256 (websocketd-0.3.0-freebsd_386.zip) = b5de6e70273ba0be28b9ee3c76491f6502045def69c8acdf0db5142502439f1e +SIZE (websocketd-0.3.0-freebsd_386.zip) = 2404543 --- www/websocketd/pkg-descr (nonexistent) +++ www/websocketd/pkg-descr (working copy) @@ -0,0 +1,8 @@ +websocketd 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 in any language. As +long as you can write an executable program that reads `STDIN` and writes to +`STDOUT`, you can build a WebSocket server. + +WWW: http://websocketd.com/