aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShi Yanling <sylphenix@outlook.com>2025-06-10 00:00:08 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2025-06-10 00:02:51 +0000
commit19dac35585b5f4c1680a7b81a2e795e5abbfec7d (patch)
tree47f48f99b70afbd3a7e0c6303e3128a7ccc01399
parent26b1960fce527352233bdd7da0e293b881e719e1 (diff)
misc/sff: New port: Simple and fast terminal file manager
- Submitter becomes maintainer sff is a simple, fast, and feature-rich terminal file manager inspired by nnn and guided by the suckless philosophy. It aims to provide a reliable, efficient, and user-friendly file management experience with high extensibility. WWW: https://codeberg.org/sylphenix/sff PR: 285216
-rw-r--r--misc/Makefile1
-rw-r--r--misc/sff/Makefile22
-rw-r--r--misc/sff/distinfo3
-rw-r--r--misc/sff/pkg-descr20
-rw-r--r--misc/sff/pkg-plist6
5 files changed, 52 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 8cd3209a3620..2aff698c61a7 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -595,6 +595,7 @@
SUBDIR += seabios
SUBDIR += sent
SUBDIR += seq2
+ SUBDIR += sff
SUBDIR += sfm
SUBDIR += shared-mime-info
SUBDIR += shc
diff --git a/misc/sff/Makefile b/misc/sff/Makefile
new file mode 100644
index 000000000000..3183635d97cb
--- /dev/null
+++ b/misc/sff/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= sff
+DISTVERSION= 1.1
+CATEGORIES= misc
+MASTER_SITES= https://codeberg.org/sylphenix/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+MAINTAINER= sylphenix@outlook.com
+COMMENT= Simple and fast terminal file manager
+WWW= https://codeberg.org/sylphenix/sff
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= ncurses:port pkgconfig localbase:ldflags
+USE_CSTD= c11
+
+MAKE_ARGS= CC="${CC}" \
+ CFLAGS="${CFLAGS} -I${NCURSESINC}" \
+ LDFLAGS="`pkg-config --libs ncursesw`"
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/misc/sff/distinfo b/misc/sff/distinfo
new file mode 100644
index 000000000000..7e96d7d22dce
--- /dev/null
+++ b/misc/sff/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1749208354
+SHA256 (sff-1.1.tar.gz) = 1a024c9a0a93842b6ab73c8d622361937efc5c54c5289daa6469ad6e6d50fc79
+SIZE (sff-1.1.tar.gz) = 32032
diff --git a/misc/sff/pkg-descr b/misc/sff/pkg-descr
new file mode 100644
index 000000000000..71c1b26324fc
--- /dev/null
+++ b/misc/sff/pkg-descr
@@ -0,0 +1,20 @@
+sff is a simple, fast, and feature-rich terminal file manager inspired
+by nnn and guided by the suckless philosophy. It aims to provide a
+reliable, efficient, and user-friendly file management experience with
+high extensibility.
+
+Features:
+ - POSIX-compliant and highly optimized
+ - Fast startup and low memory footprint
+ - Extensible with shell scripts
+ - Customizable detail columns
+ - Type-to-navigate
+ - Advanced search via 'find
+ - Fast file search via 'fzf'
+ - Convenient temporary sudo mode
+ - Undo/Redo for the last file operation
+ - Batch file and directory creation
+ - Batch rename
+ - Multi-tab support, cross-directory selection
+ - Extract, list, create archives
+ - ... and more!
diff --git a/misc/sff/pkg-plist b/misc/sff/pkg-plist
new file mode 100644
index 000000000000..a7d33a31ce1f
--- /dev/null
+++ b/misc/sff/pkg-plist
@@ -0,0 +1,6 @@
+bin/sff
+libexec/sff/sff-extfunc
+libexec/sff/plugins/archive
+libexec/sff/plugins/fzf-find
+libexec/sff/plugins/preview
+share/man/man1/sff.1.gz