From f1f5d15bd9b6c7726c67de976712c19c53ede0e5 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 20 Dec 2021 20:44:00 +0300 Subject: [PATCH] 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 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 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: <