git: 077ee5655bce - main - games/ballerburg: Update to 1.2.1

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 30 May 2022 15:05:15 UTC
The branch main has been updated by ehaupt:

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

commit 077ee5655bce30d90aa3b4a74a05d9ffb23f4bfd
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-05-30 15:05:03 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-05-30 15:05:12 +0000

    games/ballerburg: Update to 1.2.1
---
 games/ballerburg/Makefile                   | 24 ++++++++++++++----------
 games/ballerburg/distinfo                   |  6 +++---
 games/ballerburg/files/patch-CMakeLists.txt | 11 -----------
 games/ballerburg/pkg-plist                  |  2 +-
 4 files changed, 18 insertions(+), 25 deletions(-)

diff --git a/games/ballerburg/Makefile b/games/ballerburg/Makefile
index 7ef09cc6a837..fe78fb7210db 100644
--- a/games/ballerburg/Makefile
+++ b/games/ballerburg/Makefile
@@ -1,7 +1,7 @@
 # Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
 
 PORTNAME=	ballerburg
-PORTVERSION=	1.2.0
+PORTVERSION=	1.2.1
 CATEGORIES=	games
 MASTER_SITES=	http://download.tuxfamily.org/baller/ \
 		LOCAL/ehaupt:icons
@@ -13,20 +13,24 @@ COMMENT=	Two players, two castles, and a hill in between
 
 LICENSE=	GPLv3+
 
-GNU_CONFIGURE=	yes
-NLS_USES=	gettext
-USES=		cmake:insource sdl
+USES=		cmake:noninja localbase:ldflags sdl
 USE_SDL=	sdl
+GNU_CONFIGURE=	yes
+
+LDFLAGS+=	-lintl
+
+DESKTOP_ENTRIES=	"Ballerburg" \
+			"${COMMENT}" \
+			"${PREFIX}/share/pixmaps/ballerburg.png" \
+			"${PORTNAME}" \
+			"" \
+			false
 
 OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes
 
-DESKTOP_ENTRIES="Ballerburg" \
-		"${COMMENT}" \
-		"${PREFIX}/share/pixmaps/ballerburg.png" \
-		"${PORTNAME}" \
-		"" \
-		false
+NLS_USES=	gettext
+NLS_USES_OFF=	gettext-runtime
 
 post-install:
 	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-icons-1/${PORTNAME}.png \
diff --git a/games/ballerburg/distinfo b/games/ballerburg/distinfo
index 898a2d4453e2..01ac093f7cf1 100644
--- a/games/ballerburg/distinfo
+++ b/games/ballerburg/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1499413186
-SHA256 (ballerburg-1.2.0.tar.gz) = 0625f4b213c1180f2cb2179ef2bc6ce35c7e99db2b27306a8690c389ceac6300
-SIZE (ballerburg-1.2.0.tar.gz) = 99910
+TIMESTAMP = 1653849678
+SHA256 (ballerburg-1.2.1.tar.gz) = 3f4ad9465f01c256dd1b37cc62c9fd8cbca372599753dbb21726629f042a6e62
+SIZE (ballerburg-1.2.1.tar.gz) = 99853
 SHA256 (ballerburg-icons-1.tar.gz) = 14188ceb30c8d850b280fb402230199dd9f6a05cb7a0c84255c3e2ad227513b0
 SIZE (ballerburg-icons-1.tar.gz) = 786
diff --git a/games/ballerburg/files/patch-CMakeLists.txt b/games/ballerburg/files/patch-CMakeLists.txt
deleted file mode 100644
index c36427d00c96..000000000000
--- a/games/ballerburg/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- CMakeLists.txt.orig	2015-03-29 15:04:01 UTC
-+++ CMakeLists.txt
-@@ -50,7 +50,7 @@ if(NOT BIN2LOCALEDIR)
- endif()
- 
- if(NOT MANDIR)
--	set(MANDIR share/man/man6)
-+	set(MANDIR man/man6)
- endif()
- 
- if(NOT DOCDIR)
diff --git a/games/ballerburg/pkg-plist b/games/ballerburg/pkg-plist
index 46356ee3613f..f1204d6ea36c 100644
--- a/games/ballerburg/pkg-plist
+++ b/games/ballerburg/pkg-plist
@@ -1,5 +1,5 @@
 bin/ballerburg
-man/man6/ballerburg.6.gz
+share/man/man6/ballerburg.6.gz
 share/pixmaps/ballerburg.png
 %%DATADIR%%/baller.dat
 %%DATADIR%%/baller.mus