git: 9e31625d5335 - main - devel/fnc: Update to 0.18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Sep 2024 08:53:19 UTC
The branch main has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e31625d53353cd55ff302de19216d99b8c333f9 commit 9e31625d53353cd55ff302de19216d99b8c333f9 Author: Ashish SHUKLA <ashish@FreeBSD.org> AuthorDate: 2024-09-25 08:32:25 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2024-09-25 08:53:02 +0000 devel/fnc: Update to 0.18 --- devel/fnc/Makefile | 3 +-- devel/fnc/distinfo | 6 +++--- devel/fnc/files/patch-fnc.bld.mk | 25 +++++++------------------ 3 files changed, 11 insertions(+), 23 deletions(-) diff --git a/devel/fnc/Makefile b/devel/fnc/Makefile index 0142aad64958..534092e6f40f 100644 --- a/devel/fnc/Makefile +++ b/devel/fnc/Makefile @@ -1,6 +1,5 @@ PORTNAME= fnc -DISTVERSION= 0.16 -PORTREVISION= 1 +DISTVERSION= 0.18 CATEGORIES= devel MASTER_SITES= https://fnc.bsdbox.org/tarball/${DISTVERSION}/ \ https://distfiles.pirateparty.in/ashish/ diff --git a/devel/fnc/distinfo b/devel/fnc/distinfo index bd869aeed717..49651cb1d4d5 100644 --- a/devel/fnc/distinfo +++ b/devel/fnc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1701071597 -SHA256 (fnc-0.16.tar.gz) = e88eb0b5230768a7679542b8a5889ac9b25e3831aed8ffac9985bc9500c85863 -SIZE (fnc-0.16.tar.gz) = 3232489 +TIMESTAMP = 1727251457 +SHA256 (fnc-0.18.tar.gz) = 9e94beb0ec45d12ffd4ee163b441657afd07a483ac68feb399c7e8a4f3547a19 +SIZE (fnc-0.18.tar.gz) = 3244426 diff --git a/devel/fnc/files/patch-fnc.bld.mk b/devel/fnc/files/patch-fnc.bld.mk index ca89c68baaa8..0b121672e52a 100644 --- a/devel/fnc/files/patch-fnc.bld.mk +++ b/devel/fnc/files/patch-fnc.bld.mk @@ -1,28 +1,17 @@ ---- fnc.bld.mk.orig 2023-11-27 08:16:26 UTC +--- fnc.bld.mk.orig 2024-09-25 08:28:03 UTC +++ fnc.bld.mk -@@ -4,8 +4,8 @@ CC ?= cc - +@@ -4,7 +4,7 @@ CC ?= cc + # CONFIGURATION CC ?= cc -PREFIX ?= /usr/local --MANDIR ?= /share/man +PREFIX ?= %%PREFIX%% -+MANDIR ?= /share/man + MANDIR ?= /share/man VERSION ?= %%VERSION%% HASH != cut -f 1 manifest.uuid - DATE != sed '2q;d' manifest | cut -d ' ' -f 2 | tr T ' ' -@@ -42,7 +42,7 @@ FOSSIL_CFLAGS = ${CFLAGS} -Wall -Werror -Wsign-compare - # On SOME Linux (e.g., Ubuntu 18.04.6), we have to include wchar curses from - # I/.../ncursesw, but linking to -lncursesw (w/ no special -L path) works fine. - # FLAGS NEEDED TO BUILD FNC --FNC_CFLAGS = ${CFLAGS} -Wall -Werror -Wsign-compare -pedantic -std=c99 \ -+FNC_CFLAGS = ${CFLAGS} -Wall -Werror -Wsign-compare -pedantic -std=c11 \ - -I./lib -I./include -I/usr/include/ncursesw \ - -D_XOPEN_SOURCE_EXTENDED -DVERSION=${VERSION} -DHASH=${HASH} \ - -DDATE="${DATE}" -@@ -89,10 +89,10 @@ install: +@@ -114,10 +114,10 @@ install: @echo "generated compile_commands.json" - + install: - mkdir -p -m 0755 ${PREFIX}/bin - mkdir -p -m 0755 ${PREFIX}${MANDIR}/man1 @@ -32,6 +21,6 @@ + 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 - + uninstall: rm -f ${PREFIX}/bin/fnc ${PREFIX}${MANDIR}/man1/fnc.1