git: df5adcb29fb0 - main - games/maxr: update 0.2.9 → 0.2.10

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Mon, 22 May 2023 18:27:47 UTC
The branch main has been updated by amdmi3:

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

commit df5adcb29fb09cf30f3857f0f2fee9a3b1b65f68
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2023-05-19 19:51:24 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2023-05-22 18:27:09 +0000

    games/maxr: update 0.2.9 → 0.2.10
---
 games/maxr/Makefile                                      | 10 +++++-----
 games/maxr/distinfo                                      |  6 +++---
 games/maxr/files/patch-src_config_selectplatformconfig.h | 11 -----------
 3 files changed, 8 insertions(+), 19 deletions(-)

diff --git a/games/maxr/Makefile b/games/maxr/Makefile
index 1014a773efb2..11c395421539 100644
--- a/games/maxr/Makefile
+++ b/games/maxr/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	maxr
-PORTVERSION=	0.2.9
-PORTREVISION=	4
+DISTVERSIONPREFIX=	release-
+DISTVERSION=	0.2.10
 CATEGORIES=	games
-MASTER_SITES=	https://www.maxr.org/downloads/
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Mechanized Assault and Exploration Reloaded
@@ -11,8 +10,9 @@ WWW=		https://www.maxr.org/
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/data/COPYING
 
-USES=		cmake compiler:c++11-lib dos2unix sdl
-DOS2UNIX_FILES=	src/config/selectplatformconfig.h
+USES=		cmake compiler:c++11-lib sdl
+USE_GITHUB=	yes
+GH_ACCOUNT=	MAX-Reloaded
 USE_SDL=	sdl2 mixer2 net2
 
 PLIST_FILES=	bin/${PORTNAME}
diff --git a/games/maxr/distinfo b/games/maxr/distinfo
index f8d03681b5da..02b98f146489 100644
--- a/games/maxr/distinfo
+++ b/games/maxr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1467908301
-SHA256 (maxr-0.2.9.tar.gz) = 5f0afebcef5ca6449de175e5abf0e3772c4f238a0103361a50efb6349b2185ff
-SIZE (maxr-0.2.9.tar.gz) = 14847180
+TIMESTAMP = 1684521812
+SHA256 (MAX-Reloaded-maxr-release-0.2.10_GH0.tar.gz) = 4eb4cf59a50ba58fa1355ea8230e2c838b16caaf082afb810303051ad14361d1
+SIZE (MAX-Reloaded-maxr-release-0.2.10_GH0.tar.gz) = 16090538
diff --git a/games/maxr/files/patch-src_config_selectplatformconfig.h b/games/maxr/files/patch-src_config_selectplatformconfig.h
deleted file mode 100644
index 508a3106e370..000000000000
--- a/games/maxr/files/patch-src_config_selectplatformconfig.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/config/selectplatformconfig.h.orig	2016-06-03 22:11:14 UTC
-+++ src/config/selectplatformconfig.h
-@@ -19,7 +19,7 @@
- 
- #ifndef MAXR_PLATFORM_CONFIG
- 
--#if (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(_CRAYC)
-+#if (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) || defined(__FreeBSD__)) && !defined(_CRAYC)
- #   define MAXR_PLATFORM_CONFIG "config/platform/linux.h"
- #elif defined(__CYGWIN__)
- #   define MAXR_PLATFORM_CONFIG "config/platform/cygwin.h"