git: d60907051651 - main - games/openttd: update OpenTTD to version 12.2.

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sun, 10 Apr 2022 12:10:52 UTC
The branch main has been updated by danfe:

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

commit d6090705165174908ba4e2d6b404d62844ce5e95
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-04-10 12:10:16 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-04-10 12:10:16 +0000

    games/openttd: update OpenTTD to version 12.2.
---
 games/openttd/Makefile  | 5 ++---
 games/openttd/distinfo  | 6 +++---
 games/openttd/pkg-plist | 1 +
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 38431584f926..3f81e0336a3c 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -1,8 +1,7 @@
 # Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 
 PORTNAME=	openttd
-DISTVERSION=	12.1
-PORTREVISION=	2
+DISTVERSION=	12.2
 CATEGORIES=	games
 MASTER_SITES=	https://proxy.binaries.openttd.org/openttd-releases/${DISTVERSION}/
 DISTNAME=	${PORTNAME}-${DISTVERSION}-source
@@ -43,7 +42,7 @@ SERVER_LIB_DEPENDS_OFF=	libfontconfig.so:x11-fonts/fontconfig \
 SERVER_VARS=		USE_RC_SUBR=${PORTNAME}
 
 post-install-SERVER-on:
-	@${REINPLACE_CMD} -E '/icons|pixmaps/d' ${TMPPLIST}
+	@${REINPLACE_CMD} -E '/\.desktop|icons|pixmaps/d' ${TMPPLIST}
 
 do-test:
 	@cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}
diff --git a/games/openttd/distinfo b/games/openttd/distinfo
index 78687c7c2898..11f80bca2a3d 100644
--- a/games/openttd/distinfo
+++ b/games/openttd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636403295
-SHA256 (openttd-12.1-source.tar.xz) = 258bf5b9983010890ba10518b506bc4ab80f7c08ccec59497e9ba55a4aa3e7e3
-SIZE (openttd-12.1-source.tar.xz) = 7357316
+TIMESTAMP = 1648897817
+SHA256 (openttd-12.2-source.tar.xz) = 81508f0de93a0c264b216ef56a05f8381fff7bffa6d010121a21490b4dace95c
+SIZE (openttd-12.2-source.tar.xz) = 7377496
diff --git a/games/openttd/pkg-plist b/games/openttd/pkg-plist
index da78e22a6244..b643fb7caaa8 100644
--- a/games/openttd/pkg-plist
+++ b/games/openttd/pkg-plist
@@ -20,6 +20,7 @@ man/man6/openttd.6.gz
 %%DATADIR%%/ai/compat_12.nut
 %%DATADIR%%/baseset/no_music.obm
 %%DATADIR%%/baseset/no_sound.obs
+%%DATADIR%%/baseset/openttd.32.bmp
 %%DATADIR%%/baseset/openttd.grf
 %%DATADIR%%/baseset/opntitle.dat
 %%DATADIR%%/baseset/orig_dos.obg