git: a69e875ba0b8 - main - sysutils/treetop: add new port

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Tue, 15 Apr 2025 08:25:45 UTC
The branch main has been updated by meta:

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

commit a69e875ba0b8eeeb50e7c746176d631cb3a7f000
Author:     Al Hoang <3811822-hoanga@users.noreply.gitlab.com>
AuthorDate: 2025-04-11 19:30:39 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2025-04-15 08:25:33 +0000

    sysutils/treetop: add new port
    
    Pull Request:   https://github.com/freebsd/freebsd-ports/pull/375
---
 sysutils/Makefile          |  1 +
 sysutils/treetop/Makefile  | 20 ++++++++++++++++++++
 sysutils/treetop/distinfo  |  5 +++++
 sysutils/treetop/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 289788d71786..9660e9c870e1 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1386,6 +1386,7 @@
     SUBDIR += touchegg
     SUBDIR += toybox
     SUBDIR += tree
+    SUBDIR += treetop
     SUBDIR += triton
     SUBDIR += trueos-libqt5
     SUBDIR += ts
diff --git a/sysutils/treetop/Makefile b/sysutils/treetop/Makefile
new file mode 100644
index 000000000000..5d6d45eb0d78
--- /dev/null
+++ b/sysutils/treetop/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	treetop
+DISTVERSIONPREFIX=	v
+DISTVERSION=	${MODVERSION:S/-/./g:R}
+CATEGORIES=	sysutils
+
+MAINTAINER=	hoanga@gmail.com
+COMMENT=	Treetop is a fast, animated disk summarizer
+WWW=		https://github.com/eigenhombre/treetop
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/README.md
+
+USES=	go:modules
+MODVERSION=	0.0.0-20220201023028-ea3c2d67e9d1
+GO_MODULE=	github.com/eigenhombre/treetop@v${MODVERSION}
+#GO_TARGET=	./${PORTNAME}
+
+PLIST_FILES=	bin/treetop
+
+.include <bsd.port.mk>
diff --git a/sysutils/treetop/distinfo b/sysutils/treetop/distinfo
new file mode 100644
index 000000000000..f09c098d9d3e
--- /dev/null
+++ b/sysutils/treetop/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1744396666
+SHA256 (go/sysutils_treetop/treetop-v0.0.0.20220201023028/v0.0.0-20220201023028-ea3c2d67e9d1.mod) = 0449282b57d9bc23d9d9f0725871b49c26f10105149bc8f83d595d36f78816f4
+SIZE (go/sysutils_treetop/treetop-v0.0.0.20220201023028/v0.0.0-20220201023028-ea3c2d67e9d1.mod) = 90
+SHA256 (go/sysutils_treetop/treetop-v0.0.0.20220201023028/v0.0.0-20220201023028-ea3c2d67e9d1.zip) = 790565c3ebfbd2caf68d851a263ccdae0aff36b4766ff60ea8f49d44a333e2ae
+SIZE (go/sysutils_treetop/treetop-v0.0.0.20220201023028/v0.0.0-20220201023028-ea3c2d67e9d1.zip) = 1916551
diff --git a/sysutils/treetop/pkg-descr b/sysutils/treetop/pkg-descr
new file mode 100644
index 000000000000..daae7fa0e22d
--- /dev/null
+++ b/sysutils/treetop/pkg-descr
@@ -0,0 +1,4 @@
+Treetop is a fast, animated disk summarizer.
+
+You can get progressive feedback while your disk
+is being scanned (helpful for very large directories).