git: 2d69fd1ea338 - main - devel/ncurses: update to 6.3 and fix fetch

From: Steve Wills <swills_at_FreeBSD.org>
Date: Wed, 27 Oct 2021 14:53:46 UTC
The branch main has been updated by swills:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2d69fd1ea3384abafc03e60bb3621be2cb5961cb

commit 2d69fd1ea3384abafc03e60bb3621be2cb5961cb
Author:     Steve Wills <swills@FreeBSD.org>
AuthorDate: 2021-10-27 14:48:08 +0000
Commit:     Steve Wills <swills@FreeBSD.org>
CommitDate: 2021-10-27 14:53:25 +0000

    devel/ncurses: update to 6.3 and fix fetch
    
    This moves the port to a release version instead of a snapshot, where it
    will hopefully stay for the foreseeable future.
    
    PR:             259469
    Reported by:    khb <khb.dev@gmail.com>
    MFH:            2021Q4
---
 devel/ncurses/Makefile | 13 ++++++-------
 devel/ncurses/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile
index 1df472e9fc35..31f487e0980a 100644
--- a/devel/ncurses/Makefile
+++ b/devel/ncurses/Makefile
@@ -1,10 +1,10 @@
 # Created by: Andrey Zakhvatov
 
 PORTNAME=	ncurses
-DISTVERSION=	6.2-${SNAPSHOT}
+DISTVERSION=	6.3
 CATEGORIES=	devel
-MASTER_SITES=	ftp://ftp.invisible-island.net/${PORTNAME}/current/ \
-		https://invisible-mirror.net/archives/ncurses/current/
+MASTER_SITES=	ftp://ftp.invisible-island.net/${PORTNAME}/ \
+		https://invisible-mirror.net/archives/ncurses/
 DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	swills@FreeBSD.org
@@ -15,9 +15,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BROKEN_sparc64=	cannot build: coredump: illegal instruction
 
-USES=		cpe pkgconfig shebangfix tar:tgz
+USES=		cpe pkgconfig shebangfix
 
-SNAPSHOT=		20210626
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS=		--datadir=${PREFIX}/share \
 			--with-terminfo-dirs="${PREFIX}/share/terminfo:${LOCALBASE}/share/site-terminfo" \
@@ -55,7 +54,7 @@ CPE_VENDOR=	gnu
 SHEBANG_FILES=	test/tracemunch
 
 PLIST_SUB+=	ABI_VER=6 \
-		REL_VER=${DISTVERSION:S/-${SNAPSHOT}//}
+		REL_VER=${DISTVERSION}
 
 PORTDOCS=	*
 PORTEXAMPLES=	*
@@ -96,7 +95,7 @@ post-install:
 	${RM} ${STAGEDIR}${PREFIX}/lib/libncurses.so
 	${ECHO} "INPUT(libncurses.so.${PORTVERSION:R} AS_NEEDED(-ltinfo))" > ${STAGEDIR}${PREFIX}/lib/libncurses.so
 
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.${DISTVERSION:S/-${SNAPSHOT}//}
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.${DISTVERSION}
 
 	# backwards compatibility, remove 2021-07-02
 	${RLN} ${STAGEDIR}${PREFIX}/lib/libncurses.so ${STAGEDIR}${PREFIX}/lib/libncursesw.so
diff --git a/devel/ncurses/distinfo b/devel/ncurses/distinfo
index cee3a38f59cb..5cde0817530f 100644
--- a/devel/ncurses/distinfo
+++ b/devel/ncurses/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1624983987
-SHA256 (ncurses/ncurses-6.2-20210626.tgz) = 0ffd7087372ab4be379edc0c4550bbad06ac29d59f398f220b42e5ccc767bbbe
-SIZE (ncurses/ncurses-6.2-20210626.tgz) = 3574593
+TIMESTAMP = 1635337979
+SHA256 (ncurses/ncurses-6.3.tar.gz) = 97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059
+SIZE (ncurses/ncurses-6.3.tar.gz) = 3583550