git: 19dac35585b5 - main - misc/sff: New port: Simple and fast terminal file manager

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 10 Jun 2025 00:03:56 UTC
The branch main has been updated by eduardo:

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

commit 19dac35585b5f4c1680a7b81a2e795e5abbfec7d
Author:     Shi Yanling <sylphenix@outlook.com>
AuthorDate: 2025-06-10 00:00:08 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-06-10 00:02:51 +0000

    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
---
 misc/Makefile      |  1 +
 misc/sff/Makefile  | 22 ++++++++++++++++++++++
 misc/sff/distinfo  |  3 +++
 misc/sff/pkg-descr | 20 ++++++++++++++++++++
 misc/sff/pkg-plist |  6 ++++++
 5 files changed, 52 insertions(+)

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