git: 66168c364250 - main - games/freeciv21: Update 3.1.1 => 3.1.2

Hiroki Tagato <[email protected]> Thu, 06 Aug 2026 14:20:53 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66168c364250bb2d978740f89aa046befc65547a

commit 66168c364250bb2d978740f89aa046befc65547a
Author:     Tobias Rehbein <[email protected]>
AuthorDate: 2026-07-31 17:51:59 +0000
Commit:     Hiroki Tagato <[email protected]>
CommitDate: 2026-08-06 14:19:21 +0000

    games/freeciv21: Update 3.1.1 => 3.1.2
    
    While here, drop the custom variable FC21_VERSION and use standard
    variables instead.
    
    Changelog: https://github.com/longturn/freeciv21/releases/tag/v3.1.2
    
    PR:             297212
    Reported by:    Tobias Rehbein <[email protected]> (maintainer)
---
 games/freeciv21/Makefile | 9 ++++-----
 games/freeciv21/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/games/freeciv21/Makefile b/games/freeciv21/Makefile
index c56e16ae989a..132700027f4f 100644
--- a/games/freeciv21/Makefile
+++ b/games/freeciv21/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	freeciv21
-PORTVERSION=	${FC21_VERSION:S/^v//:S/-rc./.r/}
+DISTVERSIONPREFIX=	v
+DISTVERSION=	3.1.2
 CATEGORIES=	games
-MASTER_SITES=	https://github.com/longturn/${PORTNAME}/releases/download/${FC21_VERSION}/
-DISTNAME=	${PORTNAME:S/^f/F/}-${FC21_VERSION}
+MASTER_SITES=	https://github.com/longturn/${PORTNAME}/releases/download/${DISTVERSIONFULL}/
+DISTNAME=	${PORTNAME:S/^f/F/}-${DISTVERSIONFULL}
 
 MAINTAINER=	[email protected]
 COMMENT=	Freeciv for the 21st century
@@ -22,8 +23,6 @@ USE_KDE=	archive
 USE_QT=		core gui network svg widgets buildtools:build qmake:build
 USE_SDL=	mixer2 sdl2
 
-FC21_VERSION=	v3.1.1
-
 CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_Git
 CMAKE_OFF=	FREECIV_DOWNLOAD_FONTS
 
diff --git a/games/freeciv21/distinfo b/games/freeciv21/distinfo
index f2755f9f622b..f909723e359b 100644
--- a/games/freeciv21/distinfo
+++ b/games/freeciv21/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1774124462
-SHA256 (Freeciv21-v3.1.1.tar.gz) = 32039ce79c7e23ac1dc2941fd8b4080bd0cc07328a9678f9df43df51bc6aca8e
-SIZE (Freeciv21-v3.1.1.tar.gz) = 52826203
+TIMESTAMP = 1785395769
+SHA256 (Freeciv21-v3.1.2.tar.gz) = 3fe8c9a3c576c00c5af4490611ccd63cd99a50014f7fea9143f817fbe978ccca
+SIZE (Freeciv21-v3.1.2.tar.gz) = 52816905