From nobody Sun Mar 13 22:22:58 2022 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 3D9E71A1A05E; Sun, 13 Mar 2022 22:22:59 +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 4KGvLq11Q0z3jhn; Sun, 13 Mar 2022 22:22:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647210179; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7IjZyzyctUeewH3RcqDs+2EkMYNYJ5u6FUjSTcXKRQY=; b=yRLSwrxAhWLQkKS1ZfrBixzyqE0dA+orWke/TMnrj7FmCFJQjYy04GMM5bt05tIsn7KdpE iMxFtGiwYz3cnsmQ18scseJmSXDwge/0T9G01cveB+Dz4kvlZNF66lxWTI4a5aKLSFfStP egbExibca9pwsw76rMlevS3eej8RgVyn5YoOXuzNik/ulHyxs4g2RNXglalEpYfwAzuLVI WeVSu1xYJrTWCY0sHDGnGZ5b9vJkA8WxxN8I58p+voIYQIDfXjLRupx0GOJOyrKyyZt2mQ FqrVlHJzNqgt+zWlvvyL8GZLW8n2v0F1tqJUEZEQ+01hjosg5gFWLZUs5hzBhQ== 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 029502144E; Sun, 13 Mar 2022 22:22:59 +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 22DMMwHe035459; Sun, 13 Mar 2022 22:22:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22DMMwgr035458; Sun, 13 Mar 2022 22:22:58 GMT (envelope-from git) Date: Sun, 13 Mar 2022 22:22:58 GMT Message-Id: <202203132222.22DMMwgr035458@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ashish SHUKLA Subject: git: 675560474c5e - main - devel/fnc: New Port: ncurses browser for Fossil repos 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: ashish X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 675560474c5e2728475df4364216aac80c4a05b2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647210179; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7IjZyzyctUeewH3RcqDs+2EkMYNYJ5u6FUjSTcXKRQY=; b=UoIKinb1Eezsf9nSlDWYgwOv964Z+Klj8DebmsvWQ6dTLQDFVH7EQa6Yeys6S5o7H28UJ+ sNoUQwuMfQmf3bKRCqN4pw9+wZLTluvwpmpFrL7/Prv615nGM2xQoyn7T92kA/yTyLpUob 2ZO5QzY8zq+7wNVEeQAXUK0iRAf4tADSRy4HNenq8pRNbouA2VzjMqrLNBTXNPBi/4Subq KC8lTJ2ZQ/puuYJILBlzGUIc4PLIfIbKI9dDzvD0VXFn2/2PPBGfEce0OQtPDYGVSi/Qjy rf0emQ4EBmKdh28Qe0PH0FSp5ioBiVaT3WabVG8vMJV1SkYQ3/DFF3n6+2EcTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647210179; a=rsa-sha256; cv=none; b=O3DRn07DEOY05x8AuncMX+swmiqnUdCgoTiEBc1Z11eSi/OcAe/cB2ei76bLJSLGPET1IM wIs61WauYQ67xwGm3/2xLxSaj5JP+iecA72vtn0KOLgACNLXS4ias64bPc5OMhwl0ywRG6 NiwntusmeN7RB4bztFsIzE6L583ouNG9LnjnIMBeujfBHtWKdycm+kFhHoI2TqKK7utU4E eDBUjYL+z4XOJ3l9gCaQlSJEyj0OV30kAdQPtEw5qUVsw9Jz2OMSa4lNCGPyUL3pjbrMTP 0RXtwy+JLZmhcSK6luQ5slXOy0r8YpJUCAtDe8z+lULVM/crkxahAkkhyaRE6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=675560474c5e2728475df4364216aac80c4a05b2 commit 675560474c5e2728475df4364216aac80c4a05b2 Author: Ashish SHUKLA AuthorDate: 2022-03-13 22:20:47 +0000 Commit: Ashish SHUKLA 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 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/