summaryrefslogtreecommitdiff
path: root/sysutils/ictree
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ictree')
-rw-r--r--sysutils/ictree/Makefile22
-rw-r--r--sysutils/ictree/distinfo3
-rw-r--r--sysutils/ictree/pkg-descr24
3 files changed, 49 insertions, 0 deletions
diff --git a/sysutils/ictree/Makefile b/sysutils/ictree/Makefile
new file mode 100644
index 000000000000..14ea47d78354
--- /dev/null
+++ b/sysutils/ictree/Makefile
@@ -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>
diff --git a/sysutils/ictree/distinfo b/sysutils/ictree/distinfo
new file mode 100644
index 000000000000..4fa561a6365d
--- /dev/null
+++ b/sysutils/ictree/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1754494166
+SHA256 (ictree-v1.0.1.tar.gz) = a34730ab9722ea5718282b20cbe0904048447ecc11716909e2e03bb2057683d0
+SIZE (ictree-v1.0.1.tar.gz) = 588405
diff --git a/sysutils/ictree/pkg-descr b/sysutils/ictree/pkg-descr
new file mode 100644
index 000000000000..8ce1864e37a0
--- /dev/null
+++ b/sysutils/ictree/pkg-descr
@@ -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.