git: 675560474c5e - main - devel/fnc: New Port: ncurses browser for Fossil repos
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Mar 2022 22:22:58 UTC
The branch main has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=675560474c5e2728475df4364216aac80c4a05b2 commit 675560474c5e2728475df4364216aac80c4a05b2 Author: Ashish SHUKLA <ashish@FreeBSD.org> AuthorDate: 2022-03-13 22:20:47 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2022-03-13 22:22:02 +0000 devel/fnc: New Port: ncurses browser for Fossil repos An interactive ncurses browser for Fossil repositories. fnc uses libfossil to create a fossil ui experience in the terminal. WWW: https://fnc.bsdbox.org/ --- devel/Makefile | 1 + devel/fnc/Makefile | 18 ++++++++++++++++++ devel/fnc/distinfo | 3 +++ devel/fnc/files/patch-fnc.bld.mk | 22 ++++++++++++++++++++++ devel/fnc/pkg-descr | 5 +++++ 5 files changed, 49 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a3acd8f32386..c989e9f8c448 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -694,6 +694,7 @@ SUBDIR += flexjson SUBDIR += flyspray SUBDIR += fmake + SUBDIR += fnc SUBDIR += fnccheck SUBDIR += folly SUBDIR += forge diff --git a/devel/fnc/Makefile b/devel/fnc/Makefile new file mode 100644 index 000000000000..6aac5a919b07 --- /dev/null +++ b/devel/fnc/Makefile @@ -0,0 +1,18 @@ +PORTNAME= fnc +DISTVERSION= 0.9 +CATEGORIES= devel +MASTER_SITES= https://fnc.bsdbox.org/tarball/${DISTVERSION}/ \ + https://distfiles.pirateparty.in/ashish/ + +MAINTAINER= ashish@FreeBSD.org +COMMENT= Interactive ncurses browser for Fossil repositories + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= ncurses + +PLIST_FILES= bin/fnc \ + man/man1/fnc.1.gz + +.include <bsd.port.mk> diff --git a/devel/fnc/distinfo b/devel/fnc/distinfo new file mode 100644 index 000000000000..2ead144c9ea7 --- /dev/null +++ b/devel/fnc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1647174741 +SHA256 (fnc-0.9.tar.gz) = d5e00a0f7ddb307091c3c8dd28e9bd3d6f4192c4d53b38dfd98954961363f68a +SIZE (fnc-0.9.tar.gz) = 3016801 diff --git a/devel/fnc/files/patch-fnc.bld.mk b/devel/fnc/files/patch-fnc.bld.mk new file mode 100644 index 000000000000..0b0b6bf178dd --- /dev/null +++ b/devel/fnc/files/patch-fnc.bld.mk @@ -0,0 +1,22 @@ +--- fnc.bld.mk.orig 2022-03-04 05:14:09 UTC ++++ fnc.bld.mk +@@ -5,7 +5,7 @@ + # CONFIGURATION + CC ?= cc + PREFIX ?= /usr/local +-MANDIR ?= /share/man ++MANDIR ?= /man + VERSION ?= 0.9 + + # FLAGS NEEDED TO BUILD SQLITE3 +@@ -67,8 +67,8 @@ src/fnc: src/fnc.o src/diff.o lib/libfossil.o lib/sqli + ${FNC_LDFLAGS} + + install: +- install -s -m 0755 src/fnc ${PREFIX}/bin/fnc +- install -m 0644 src/fnc.1 ${PREFIX}${MANDIR}/man1/fnc.1 ++ install -s -m 0755 src/fnc ${DESTDIR}${PREFIX}/bin/fnc ++ install -m 0644 src/fnc.1 ${DESTDIR}${PREFIX}${MANDIR}/man1/fnc.1 + + uninstall: + rm -f ${PREFIX}/bin/fnc ${PREFIX}${MANDIR}/man1/fnc.1 diff --git a/devel/fnc/pkg-descr b/devel/fnc/pkg-descr new file mode 100644 index 000000000000..4b7f2d416210 --- /dev/null +++ b/devel/fnc/pkg-descr @@ -0,0 +1,5 @@ +An interactive ncurses browser for Fossil repositories. + +fnc uses libfossil to create a fossil ui experience in the terminal. + +WWW: https://fnc.bsdbox.org/