git: aa52691e2035 - 2026Q3 - games/freeciv21: Update 3.1.1 => 3.1.2

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 15 Sep 2026 00:59:58 UTC
The branch 2026Q3 has been updated by vvd:

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

commit aa52691e2035ef645145e5c3f2b99fe27e6a22eb
Author:     Tobias Rehbein <tobias.rehbein@web.de>
AuthorDate: 2026-07-31 17:51:59 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-09-15 00:59:19 +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 <tobias.rehbein@web.de> (maintainer)
    
    (cherry picked from commit 66168c364250bb2d978740f89aa046befc65547a)
---
 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=	tobias.rehbein@web.de
 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