git: 78b5ae8067db - main - sysutils/gonzo: Add new port

From: Gabriel M. Dutra <dutra_at_FreeBSD.org>
Date: Fri, 17 Oct 2025 03:55:03 UTC
The branch main has been updated by dutra:

URL: https://cgit.FreeBSD.org/ports/commit/?id=78b5ae8067db0d039f9c3cb188d24c84e3d75cb0

commit 78b5ae8067db0d039f9c3cb188d24c84e3d75cb0
Author:     Gabriel M. Dutra <dutra@FreeBSD.org>
AuthorDate: 2025-10-17 03:52:49 +0000
Commit:     Gabriel M. Dutra <dutra@FreeBSD.org>
CommitDate: 2025-10-17 03:54:47 +0000

    sysutils/gonzo: Add new port
    
    A powerful, real-time log analysis terminal UI inspired by k9s.
    Analyze log streams with beautiful charts, AI-powered insights,
    and advanced filtering - all from your terminal.
---
 sysutils/Makefile        |  1 +
 sysutils/gonzo/Makefile  | 45 +++++++++++++++++++++++++++++++++++++++++++++
 sysutils/gonzo/distinfo  |  5 +++++
 sysutils/gonzo/pkg-descr |  3 +++
 4 files changed, 54 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 80113f6d9899..7341fe812938 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -475,6 +475,7 @@
     SUBDIR += gobi_loader
     SUBDIR += gomi
     SUBDIR += gomplate
+    SUBDIR += gonzo
     SUBDIR += google-compute-engine-oslogin
     SUBDIR += gotop
     SUBDIR += govmomi
diff --git a/sysutils/gonzo/Makefile b/sysutils/gonzo/Makefile
new file mode 100644
index 000000000000..43d454db4d1e
--- /dev/null
+++ b/sysutils/gonzo/Makefile
@@ -0,0 +1,45 @@
+PORTNAME=	gonzo
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.1
+CATEGORIES=	sysutils
+
+MAINTAINER=	dutra@FreeBSD.org
+COMMENT=	TUI for log analysis
+WWW=		https://www.controltheory.com/gonzo/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:1.23,modules
+
+#NOT_FOR_ARCHS=	armv6 armv7 i386
+
+_BUILD_DATE=	$$(date -u +"%FT%T%z")
+_BUILD_HASH=	6d2d1ad
+
+GO_MODULE=	github.com/control-theory/${PORTNAME}
+GO_TARGET=	./cmd/${PORTNAME}
+GO_BUILDFLAGS=	-ldflags "\
+		-s -w \
+		-X main.version=${DISTVERSION} \
+		-X main.buildTime=${_BUILD_DATE} \
+		-X main.commit=${_BUILD_HASH}"
+
+PLIST_FILES=	bin/${PORTNAME}
+_DOCS=		CONTRIBUTING.md README.md USAGE_GUIDE.md
+PORTDOCS=	${_DOCS:T}
+PORTEXAMPLES=	*
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && \
+		${INSTALL_DATA} ${_DOCS} \
+		${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
diff --git a/sysutils/gonzo/distinfo b/sysutils/gonzo/distinfo
new file mode 100644
index 000000000000..1b4d37b03617
--- /dev/null
+++ b/sysutils/gonzo/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1760669775
+SHA256 (go/sysutils_gonzo/gonzo-v0.2.1/v0.2.1.mod) = 49e027b45c4d8cd1d84fd02602e7a1cdafc0a6d264b0ab789eb8fc1024d6e156
+SIZE (go/sysutils_gonzo/gonzo-v0.2.1/v0.2.1.mod) = 2668
+SHA256 (go/sysutils_gonzo/gonzo-v0.2.1/v0.2.1.zip) = ca3911448994fbf5c2ce5f205c03f210a20b867553b7392198bb682d0a518ed0
+SIZE (go/sysutils_gonzo/gonzo-v0.2.1/v0.2.1.zip) = 48369554
diff --git a/sysutils/gonzo/pkg-descr b/sysutils/gonzo/pkg-descr
new file mode 100644
index 000000000000..409e36db6f30
--- /dev/null
+++ b/sysutils/gonzo/pkg-descr
@@ -0,0 +1,3 @@
+A powerful, real-time log analysis terminal UI inspired by k9s.
+Analyze log streams with beautiful charts, AI-powered insights
+and advanced filtering - all from your terminal.