sysutils/ictree: [NEW PORT] Like tree(1) but interactive

ictree is a terminal-based program that takes a list of contents of
directories and displays them in a pager similar to less where you can
fold/unfold

https://nikitaivanovv.github.io/ictree/

PR:		284245
Approved by:	yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52439
This commit is contained in:
Älven 2025-09-09 14:39:47 +04:00
parent 198f5da5e9
commit 4951cf94da
Failed to extract signature
4 changed files with 50 additions and 0 deletions

View File

@ -520,6 +520,7 @@
SUBDIR += i2c-tools
SUBDIR += i7z
SUBDIR += iat
SUBDIR += ictree
SUBDIR += imgurbash2
SUBDIR += immortal
SUBDIR += incron

22
sysutils/ictree/Makefile Normal file
View File

@ -0,0 +1,22 @@
PORTNAME= ictree
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.1
CATEGORIES= sysutils
MASTER_SITES= https://github.com/NikitaIvanovV/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= alven@FreeBSD.org
COMMENT= Like tree(1) but interactive
WWW= https://nikitaivanovv.github.io/ictree/ \
https://github.com/NikitaIvanovV/ictree/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake
NO_WRKSUBDIR= yes
PLIST_FILES= bin/ictree \
share/man/man1/ictree.1.gz
.include <bsd.port.mk>

3
sysutils/ictree/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1754494166
SHA256 (ictree-v1.0.1.tar.gz) = a34730ab9722ea5718282b20cbe0904048447ecc11716909e2e03bb2057683d0
SIZE (ictree-v1.0.1.tar.gz) = 588405

24
sysutils/ictree/pkg-descr Normal file
View File

@ -0,0 +1,24 @@
ictree is a terminal-based program that takes a list of contents of directories
and displays them in a pager similar to less where you can fold/unfold
directories and quickly jump between them.
EXAMPLES:
Find something with locate and pipe output into ictree:
locate something | ictree
The same applies to any program that can produce a list of paths. For example,
one can use find with ictree to view current working directory in a nice
tree-like format:
find | ictree
ictree can also take a file that contains paths as its first argument:
locate something > list.txt
ictree list.txt
ictree supports Vi-like search functionality. Extended regular expressions are
supported. If a pattern contains '/' character, the search is performed by full
paths of items instead of their short names in the list.