git: 3778a319c0b9 - main - devel/cons: Update to 2.2.1

From: Carlo Strub <cs_at_FreeBSD.org>
Date: Tue, 29 Jul 2025 19:34:49 UTC
The branch main has been updated by cs:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3778a319c0b9423c02ef5bc36ac261b5aeb1648c

commit 3778a319c0b9423c02ef5bc36ac261b5aeb1648c
Author:     Carlo Strub <cs@FreeBSD.org>
AuthorDate: 2025-07-29 19:31:40 +0000
Commit:     Carlo Strub <cs@FreeBSD.org>
CommitDate: 2025-07-29 19:31:40 +0000

    devel/cons: Update to 2.2.1
    
    - Remove DEPRECATED
    - Update to 2.2.1
    - Change to new master site
    
    PR:             287936
    Reported by:    Chris Hutchinson <portmaster@bsdforge.com>
    Approved by:    maintainer timout
---
 devel/cons/Makefile | 20 ++++++++------------
 devel/cons/distinfo |  5 +++--
 2 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/devel/cons/Makefile b/devel/cons/Makefile
index 39af4ccdb9fc..dc8a5a18695b 100644
--- a/devel/cons/Makefile
+++ b/devel/cons/Makefile
@@ -1,26 +1,22 @@
 PORTNAME=	cons
-PORTVERSION=	2.2.0
-PORTREVISION=	4
+PORTVERSION=	2.2.1
 CATEGORIES=	devel
-MASTER_SITES=	http://www.dsmit.com/cons/stable/ \
-		http://www.gnu.org/software/cons/stable/ \
-		ftp://ftp.gnu.org/pub/gnu/cons/ \
-		http://www.baldmt.com/cons/stable/
+MASTER_SITES=	https://codeberg.org/BSDforge/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
 MAINTAINER=	rv@gnu.org
 COMMENT=	Perl-based Make Replacement
-WWW=		http://www.dsmit.com/cons/
+WWW=		https://codeberg.org/BSDforge/${PORTNAME}/
 
-DEPRECATED=	Upstream development seems to have stopped over 20 years ago
-EXPIRATION_DATE=2025-06-30
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		perl5 tar:tgz
+USES=		perl5
+DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
 NO_BUILD=	yes
-PLIST_SUB=	CONS_VER=${PORTVERSION}
+WRKSRC=		${WRKDIR}/${PORTNAME}
 
 DOCS=		CHANGES COPYING COPYRIGHT INSTALL MANIFEST README RELEASE \
 		cons.html TODO
-DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/devel/cons/distinfo b/devel/cons/distinfo
index 0f75627c6b3d..96783d7c7eb5 100644
--- a/devel/cons/distinfo
+++ b/devel/cons/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cons-2.2.0.tgz) = 05f21f341ef90a7f1d954a0f4429bac7afd05b94bc9fd282e1f0048a6c43c890
-SIZE (cons-2.2.0.tgz) = 200338
+TIMESTAMP = 1751328837
+SHA256 (cons-2.2.1.tar.gz) = 8dc8f1e2d73884545c57228a5367693312eb6470531d4d4e44f06c4fc682ea01
+SIZE (cons-2.2.1.tar.gz) = 201500