games/maxr: update 0.2.9 → 0.2.10

This commit is contained in:
Dmitry Marakasov 2023-05-19 22:51:24 +03:00
parent d0a3e8d0ca
commit df5adcb29f
3 changed files with 8 additions and 19 deletions

View file

@ -1,8 +1,7 @@
PORTNAME= maxr PORTNAME= maxr
PORTVERSION= 0.2.9 DISTVERSIONPREFIX= release-
PORTREVISION= 4 DISTVERSION= 0.2.10
CATEGORIES= games CATEGORIES= games
MASTER_SITES= https://www.maxr.org/downloads/
MAINTAINER= amdmi3@FreeBSD.org MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Mechanized Assault and Exploration Reloaded COMMENT= Mechanized Assault and Exploration Reloaded
@ -11,8 +10,9 @@ WWW= https://www.maxr.org/
LICENSE= GPLv2+ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/data/COPYING LICENSE_FILE= ${WRKSRC}/data/COPYING
USES= cmake compiler:c++11-lib dos2unix sdl USES= cmake compiler:c++11-lib sdl
DOS2UNIX_FILES= src/config/selectplatformconfig.h USE_GITHUB= yes
GH_ACCOUNT= MAX-Reloaded
USE_SDL= sdl2 mixer2 net2 USE_SDL= sdl2 mixer2 net2
PLIST_FILES= bin/${PORTNAME} PLIST_FILES= bin/${PORTNAME}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1467908301 TIMESTAMP = 1684521812
SHA256 (maxr-0.2.9.tar.gz) = 5f0afebcef5ca6449de175e5abf0e3772c4f238a0103361a50efb6349b2185ff SHA256 (MAX-Reloaded-maxr-release-0.2.10_GH0.tar.gz) = 4eb4cf59a50ba58fa1355ea8230e2c838b16caaf082afb810303051ad14361d1
SIZE (maxr-0.2.9.tar.gz) = 14847180 SIZE (MAX-Reloaded-maxr-release-0.2.10_GH0.tar.gz) = 16090538

View file

@ -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"