From nobody Fri Nov 12 03:58:30 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2F818184B462; Fri, 12 Nov 2021 03:58:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hr4ZG6wjzz3Fwv; Fri, 12 Nov 2021 03:58:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CEDD6189B0; Fri, 12 Nov 2021 03:58:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AC3wU5I029885; Fri, 12 Nov 2021 03:58:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AC3wUKY029884; Fri, 12 Nov 2021 03:58:30 GMT (envelope-from git) Date: Fri, 12 Nov 2021 03:58:30 GMT Message-Id: <202111120358.1AC3wUKY029884@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: cb6dc5bf2186 - main - misc/sfm: port of a simple file manager for Unix-like systems. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cb6dc5bf2186c496c10d715102af457276d80662 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=cb6dc5bf2186c496c10d715102af457276d80662 commit cb6dc5bf2186c496c10d715102af457276d80662 Author: Alexey Dokuchaev AuthorDate: 2021-11-12 03:57:16 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-11-12 03:57:18 +0000 misc/sfm: port of a simple file manager for Unix-like systems. WWW: https://git.afify.dev/sfm/ --- misc/Makefile | 1 + misc/sfm/Makefile | 19 +++++++++++++++++++ misc/sfm/distinfo | 3 +++ misc/sfm/files/patch-config.mk | 16 ++++++++++++++++ misc/sfm/pkg-descr | 10 ++++++++++ 5 files changed, 49 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 4ea94a1ef975..75406a3b6b1a 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -460,6 +460,7 @@ SUBDIR += seabios SUBDIR += sent SUBDIR += seq2 + SUBDIR += sfm SUBDIR += shared-mime-info SUBDIR += shc SUBDIR += shuffle diff --git a/misc/sfm/Makefile b/misc/sfm/Makefile new file mode 100644 index 000000000000..a34f1e01e226 --- /dev/null +++ b/misc/sfm/Makefile @@ -0,0 +1,19 @@ +# Created by: Alexey Dokuchaev + +PORTNAME= sfm +PORTVERSION= 0.4 +DISTVERSIONPREFIX= v +CATEGORIES= misc + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Simple file manager for Unix-like systems + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= afify + +PLIST_FILES= bin/sfm share/man/man1/sfm.1.gz + +.include diff --git a/misc/sfm/distinfo b/misc/sfm/distinfo new file mode 100644 index 000000000000..edb899480ec9 --- /dev/null +++ b/misc/sfm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1636121495 +SHA256 (afify-sfm-v0.4_GH0.tar.gz) = c0fe7f36a4050256b68c6e6c5cb3b7065527c6a8f6a1b0ca020814a7d511c652 +SIZE (afify-sfm-v0.4_GH0.tar.gz) = 29483 diff --git a/misc/sfm/files/patch-config.mk b/misc/sfm/files/patch-config.mk new file mode 100644 index 000000000000..e7f32ba430c0 --- /dev/null +++ b/misc/sfm/files/patch-config.mk @@ -0,0 +1,16 @@ +--- config.mk.orig 2021-11-05 14:11:35 UTC ++++ config.mk +@@ -6,9 +6,9 @@ PREFIX = /usr/local + MANPREFIX = ${PREFIX}/share/man + + # flags +-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\" +-CFLAGS = -std=c99 -pedantic -Wextra -Wall -Wno-unused-parameter -Os ${CPPFLAGS} +-LDFLAGS = -pthread -s ++CPPFLAGS += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\" ++CFLAGS += -pedantic -Wextra -Wall -Wno-unused-parameter ${CPPFLAGS} ++LDFLAGS += -pthread + + # compiler and linker +-CC = cc ++CC ?= cc diff --git a/misc/sfm/pkg-descr b/misc/sfm/pkg-descr new file mode 100644 index 000000000000..a73a76e2eaad --- /dev/null +++ b/misc/sfm/pkg-descr @@ -0,0 +1,10 @@ +sfm is a simple file manager for Unix-like systems. It features: + + - pthread(3) to read events, no timers + - BSD kqueue(2) notification mechanism + - dual panel, bottom statusbar + - open files by extension + - bookmarks, filters + - vim-like key bindings + +WWW: https://git.afify.dev/sfm/