git: 5231fb73762d - main - www/websocketd: Convert to USES=go:modules

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 15 Sep 2024 20:15:57 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5231fb73762d9b62af1a720b5f82fd806f4dfb6f

commit 5231fb73762d9b62af1a720b5f82fd806f4dfb6f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-15 19:42:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-15 20:09:38 +0000

    www/websocketd: Convert to USES=go:modules
    
    - Update COMMENT
    - Update WWW
    - Remove unnecessary substitution
    - Update pkg-descr
    - Bump PORTREVISION for package change
---
 www/websocketd/Makefile  | 16 ++++++++--------
 www/websocketd/distinfo  | 10 +++++-----
 www/websocketd/pkg-descr |  8 +++++---
 3 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/www/websocketd/Makefile b/www/websocketd/Makefile
index a25c1bac628b..1e793b8712c9 100644
--- a/www/websocketd/Makefile
+++ b/www/websocketd/Makefile
@@ -1,21 +1,21 @@
 PORTNAME=	websocketd
+PORTVERSION=	0.4.1
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.4.1
-PORTREVISION=	22
+PORTREVISION=	23
 CATEGORIES=	www
 
 MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Access any command-line tool via a WebSocket
-WWW=		http://websocketd.com/
+COMMENT=	Turn any program that uses STDIN/STDOUT into a WebSocket server
+WWW=		http://websocketd.com/ \
+		https://github.com/joewalnes/websocketd
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:modules
-USE_GITHUB=	yes
-GH_ACCOUNT=	joewalnes
-GH_TUPLE=	gorilla:websocket:v1.4.0:gorilla_websocket/vendor/github.com/gorilla/websocket
 
-PLIST_FILES=	bin/${PORTNAME}
+GO_MODULE=	github.com/joewalnes/websocketd
+
+PLIST_FILES=	bin/websocketd
 
 .include <bsd.port.mk>
diff --git a/www/websocketd/distinfo b/www/websocketd/distinfo
index 6943fdd36161..abfd996bb5e4 100644
--- a/www/websocketd/distinfo
+++ b/www/websocketd/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1619620958
-SHA256 (joewalnes-websocketd-v0.4.1_GH0.tar.gz) = 6b8fe0fad586d794e002340ee597059b2cfc734ba7579933263aef4743138fe5
-SIZE (joewalnes-websocketd-v0.4.1_GH0.tar.gz) = 46366
-SHA256 (gorilla-websocket-v1.4.0_GH0.tar.gz) = 2b5743c72bd0930c5a80e49c0138b5b7d27fa7c085efd0c86805cccfa7220c9d
-SIZE (gorilla-websocket-v1.4.0_GH0.tar.gz) = 50228
+TIMESTAMP = 1726080953
+SHA256 (go/www_websocketd/websocketd-v0.4.1/v0.4.1.mod) = a0dd64dd22bc0456af68a3168b0abcb2a8f3c961f158abfebed4b9993d4a3bdd
+SIZE (go/www_websocketd/websocketd-v0.4.1/v0.4.1.mod) = 95
+SHA256 (go/www_websocketd/websocketd-v0.4.1/v0.4.1.zip) = 3b0e44b23c96a2a31e21b098554fb13e6dea59889f75cf876a9ba033e2481d48
+SIZE (go/www_websocketd/websocketd-v0.4.1/v0.4.1.zip) = 90701
diff --git a/www/websocketd/pkg-descr b/www/websocketd/pkg-descr
index b654597ceef0..9c6da1be88d9 100644
--- a/www/websocketd/pkg-descr
+++ b/www/websocketd/pkg-descr
@@ -1,6 +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.
+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.