git: f1f5d15bd9b6 - main - games/wargus: update to 3.1.2

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Tue, 21 Dec 2021 19:59:32 UTC
The branch main has been updated by amdmi3:

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

commit f1f5d15bd9b6c7726c67de976712c19c53ede0e5
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-12-20 17:44:00 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-12-21 19:57:55 +0000

    games/wargus: update to 3.1.2
    
    PR:             260563
    Submitted by:   agh@riseup.net
---
 games/wargus/Makefile             | 20 ++++++++++----------
 games/wargus/distinfo             |  6 +++---
 games/wargus/files/pkg-message.in | 32 ++++++++++----------------------
 games/wargus/pkg-descr            | 22 +++++++++++-----------
 games/wargus/pkg-plist            |  8 +++-----
 5 files changed, 37 insertions(+), 51 deletions(-)

diff --git a/games/wargus/Makefile b/games/wargus/Makefile
index d676bc6e82d3..28a4c72c57ad 100644
--- a/games/wargus/Makefile
+++ b/games/wargus/Makefile
@@ -1,30 +1,29 @@
 # Created by: Travis Poppe <tlp@liquidx.org>
 
 PORTNAME=	wargus
-PORTVERSION=	2.4.2
+PORTVERSION=	3.1.2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
-COMMENT=	Warcraft 2 mod that allows you to play Warcraft 2 with Stratagus
+COMMENT=	Warcraft 2 mod for the Stratagus game engine
 
-LICENSE=	GPLv2+
+LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 RUN_DEPENDS=	stratagus:games/stratagus \
-		ffmpeg2theora:multimedia/ffmpeg2theora \
-		cdparanoia:audio/cdparanoia
+		cdparanoia:audio/cdparanoia \
+		ffmpeg:multimedia/ffmpeg
 BUILD_DEPENDS=	stratagus:games/stratagus
 LIB_DEPENDS=	libpng.so:graphics/png
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	Wargus
 
-USES=		cmake compiler:c++11-lang gnome pkgconfig xorg
+USES=		cmake compiler:c++11-lang pkgconfig
 CMAKE_ARGS=	-DGAMEDIR:STRING="bin" \
 		-DSHAREDIR:STRING="${DATADIR_REL}"
-USE_XORG=	x11
-USE_GNOME=	gtk20
+CMAKE_OFF=	WITH_STORMLIB  # not in ports
 SUB_FILES=	pkg-message
 
 PORTDATA=	*
@@ -33,10 +32,11 @@ PORTDOCS=	*
 OPTIONS_DEFINE=	DOCS
 
 post-install:
-	cd ${WRKSRC}/doc && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
+	${INSTALL_MAN} ${WRKSRC}/doc/*.6 ${STAGEDIR}${MAN6PREFIX}/share/man/man6/
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/doc/changelog \
+		${WRKSRC}/doc/pud-specs.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/games/wargus/distinfo b/games/wargus/distinfo
index 624ba12f2ef2..bdd5001692c0 100644
--- a/games/wargus/distinfo
+++ b/games/wargus/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1538587502
-SHA256 (Wargus-wargus-v2.4.2_GH0.tar.gz) = b5fb8052c7e10ae1e51dfd872867b538a21f640a03afda299054ba1b93349ea3
-SIZE (Wargus-wargus-v2.4.2_GH0.tar.gz) = 46013993
+TIMESTAMP = 1640019606
+SHA256 (Wargus-wargus-v3.1.2_GH0.tar.gz) = d9c3c6502328fd20637a58ded436dc9c804d027a02b8a6ac51cb35ef31459b73
+SIZE (Wargus-wargus-v3.1.2_GH0.tar.gz) = 4981468
diff --git a/games/wargus/files/pkg-message.in b/games/wargus/files/pkg-message.in
index 7e36faa83b7a..79d6c337877d 100644
--- a/games/wargus/files/pkg-message.in
+++ b/games/wargus/files/pkg-message.in
@@ -1,32 +1,20 @@
 [
 { type: install
   message: <<EOM
-The Wargus tool has been installed to "%%PREFIX%%/bin/wartool".
+Wartool has been installed to "%%PREFIX%%/bin/wartool".
+Wargus has been installed to "%%PREFIX%%/bin/wargus"
 
-You can now use this tool to extract Warcraft 2 data for use with the
-Stratagus engine from the following CDs:
+Either can be used to extract Warcraft 2 data for use with the
+Stratagus engine from the following sources:
 
-* US Expansion (both MAC/DOS)
-* US Original (both MAC/DOS)
-* UK/Australian Original
-* UK/Australian Expansion
-* German Original
-* German Expansion
-* Spanish Original
+* Original Warcraft 2 DOS REZDAT.WAR
+* Battle.Net Edition INSTALL.MPQ/INSTALL.EXE
+* GoG installation exe
 
-If you have one of the above CDs mounted on /mnt, 'su' to root, and try
-executing:
+Manual for wargus:	man 6 wargus
+Manual for wartool:	man 6 wartool
 
-# wartool /mnt %%DATADIR%%
-
-or
-
-# wartool /mnt/data %%DATADIR%%
-
-After your Warcraft 2 data has been successfully extracted, run 'wargus' as
-the user you intend to play the game with.
-
-For more information, please visit: http://wargus.sourceforge.net/
+For more information, please visit: https://stratagus.com/
 EOM
 }
 ]
diff --git a/games/wargus/pkg-descr b/games/wargus/pkg-descr
index b8cf990aa9fe..f4c5fa53d7a6 100644
--- a/games/wargus/pkg-descr
+++ b/games/wargus/pkg-descr
@@ -1,13 +1,13 @@
-Wargus is a Warcraft 2 mod that allows you to play Warcraft 2 with the
-Stratagus engine, as opposed to playing it with the original Warcraft 2
-one.
+Wargus is a Warcraft 2 Mod that allows you to play Warcraft 2 with the
+Stratagus engine. The mod is very similar to the original Warcraft 2, with
+enhancements towards Starcraft and other more modern real time strategy
+games.
 
-You will need a legal copy of Warcraft 2 (original DOS version required,
-won't work with the Battle.net Edition) since Wargus doesn't come with
-any graphics or sounds itself.
+* Wargus is supported on multiple systems
+* Can be played high resolution, supports OpenGL including Shaders
+* Local or Internet multiplayer
+* Extensive game configuration using Lua
+* Extensive game configuration from the command line
 
-Since Wargus uses a different engine, not all things will work the same
-as they did in the original game. If you want an absolutely unchanged
-Warcraft 2 experience, you will still have to play the original.
-
-WWW: http://wargus.sourceforge.net/
+WWW: https://stratagus.com/
+WWW: https://github.com/Wargus/wargus
diff --git a/games/wargus/pkg-plist b/games/wargus/pkg-plist
index 3b8ee902ecec..f677dbbce920 100644
--- a/games/wargus/pkg-plist
+++ b/games/wargus/pkg-plist
@@ -1,10 +1,8 @@
-bin/aleonas_tales
 bin/pudconvert
 bin/wargus
 bin/wartool
-man/man6/pudconvert.6.gz
-man/man6/wargus.6.gz
-man/man6/wartool.6.gz
-share/applications/aleonas_tales.desktop
+share/man/man6/pudconvert.6.gz
+share/man/man6/wargus.6.gz
+share/man/man6/wartool.6.gz
 share/applications/wargus.desktop
 share/pixmaps/wargus.png