1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

games/wargus: update to 3.1.2

PR:		260563
Submitted by:	agh@riseup.net
This commit is contained in:
Dmitry Marakasov 2021-12-20 20:44:00 +03:00
parent e3b57880cd
commit f1f5d15bd9
5 changed files with 37 additions and 51 deletions

View File

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

View File

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

View File

@ -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
}
]

View File

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

View File

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