Date: Thu, 24 Mar 2022 19:45:21 GMT From: Ashish SHUKLA <ashish@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9d9aaa199bf6 - main - devel/fnc: Update to 0.10 Message-ID: <202203241945.22OJjLbM061827@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=9d9aaa199bf6b1af7a32a07aca4253033861a662 commit 9d9aaa199bf6b1af7a32a07aca4253033861a662 Author: Ashish SHUKLA <ashish@FreeBSD.org> AuthorDate: 2022-03-24 18:52:32 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2022-03-24 19:40:47 +0000 devel/fnc: Update to 0.10 --- devel/fnc/Makefile | 11 ++++++++++- devel/fnc/distinfo | 6 +++--- devel/fnc/files/patch-fnc.bld.mk | 8 +++++--- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/devel/fnc/Makefile b/devel/fnc/Makefile index 6aac5a919b07..c068bd43fd24 100644 --- a/devel/fnc/Makefile +++ b/devel/fnc/Makefile @@ -1,5 +1,5 @@ PORTNAME= fnc -DISTVERSION= 0.9 +DISTVERSION= 0.10 CATEGORIES= devel MASTER_SITES= https://fnc.bsdbox.org/tarball/${DISTVERSION}/ \ https://distfiles.pirateparty.in/ashish/ @@ -15,4 +15,13 @@ USES= ncurses PLIST_FILES= bin/fnc \ man/man1/fnc.1.gz +# For patch application +post-extract: + ${REINPLACE_CMD} -e '/^VERSION/s/${DISTVERSION}$$/%%VERSION%%/' \ + ${WRKSRC}/fnc.bld.mk + +pre-build: + ${REINPLACE_CMD} -e '/^VERSION/s/%%VERSION%%/${DISTVERSION}$$/' \ + ${WRKSRC}/fnc.bld.mk + .include <bsd.port.mk> diff --git a/devel/fnc/distinfo b/devel/fnc/distinfo index 2ead144c9ea7..d33e1e990fd4 100644 --- a/devel/fnc/distinfo +++ b/devel/fnc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647174741 -SHA256 (fnc-0.9.tar.gz) = d5e00a0f7ddb307091c3c8dd28e9bd3d6f4192c4d53b38dfd98954961363f68a -SIZE (fnc-0.9.tar.gz) = 3016801 +TIMESTAMP = 1648147845 +SHA256 (fnc-0.10.tar.gz) = 9382cb4e51e712ce69ff97a3e64911642fae02d6543e58b1c0c74fa700ec18de +SIZE (fnc-0.10.tar.gz) = 3019861 diff --git a/devel/fnc/files/patch-fnc.bld.mk b/devel/fnc/files/patch-fnc.bld.mk index 0b0b6bf178dd..f536a9bdf849 100644 --- a/devel/fnc/files/patch-fnc.bld.mk +++ b/devel/fnc/files/patch-fnc.bld.mk @@ -1,4 +1,4 @@ ---- fnc.bld.mk.orig 2022-03-04 05:14:09 UTC +--- fnc.bld.mk.orig 2022-03-24 19:30:04 UTC +++ fnc.bld.mk @@ -5,7 +5,7 @@ # CONFIGURATION @@ -6,15 +6,17 @@ PREFIX ?= /usr/local -MANDIR ?= /share/man +MANDIR ?= /man - VERSION ?= 0.9 + VERSION ?= %%VERSION%% # FLAGS NEEDED TO BUILD SQLITE3 -@@ -67,8 +67,8 @@ src/fnc: src/fnc.o src/diff.o lib/libfossil.o lib/sqli +@@ -67,9 +67,9 @@ src/fnc: src/fnc.o src/diff.o lib/libfossil.o lib/sqli ${FNC_LDFLAGS} install: +- mkdir -p -m 0755 ${PREFIX}${MANDIR}/man1 - install -s -m 0755 src/fnc ${PREFIX}/bin/fnc - install -m 0644 src/fnc.1 ${PREFIX}${MANDIR}/man1/fnc.1 ++ mkdir -p -m 0755 ${DESTDIR}${PREFIX}${MANDIR}/man1 + install -s -m 0755 src/fnc ${DESTDIR}${PREFIX}/bin/fnc + install -m 0644 src/fnc.1 ${DESTDIR}${PREFIX}${MANDIR}/man1/fnc.1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203241945.22OJjLbM061827>