git: 601bb414d25a - main - games/wargus: add stormlib support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Feb 2022 19:12:57 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=601bb414d25aaf9803f1bc8ad380ea218218f78f
commit 601bb414d25aaf9803f1bc8ad380ea218218f78f
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-12-24 09:26:39 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-02-25 19:12:28 +0000
games/wargus: add stormlib support
PR: 260561, 260563
Submitted by: agh@riseup.net
---
games/wargus/Makefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/games/wargus/Makefile b/games/wargus/Makefile
index b30f77a409e9..eda95cd0e129 100644
--- a/games/wargus/Makefile
+++ b/games/wargus/Makefile
@@ -2,6 +2,7 @@
PORTNAME= wargus
PORTVERSION= 3.2.0
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= games
@@ -23,13 +24,17 @@ GH_ACCOUNT= Wargus
USES= cmake compiler:c++11-lang pkgconfig
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
-DSHAREDIR:STRING="${DATADIR_REL}"
-CMAKE_OFF= WITH_STORMLIB # not in ports
SUB_FILES= pkg-message
PORTDATA= *
PORTDOCS= *
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS STORMLIB
+OPTIONS_DEFAULT=STORMLIB
+
+STORMLIB_DESC= Enable StormLib support
+STORMLIB_CMAKE_BOOL= WITH_STORMLIB StormLib_FIND_REQUIRED
+STORMLIB_LIB_DEPENDS= libstorm.so:archivers/stormlib
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/*.6 ${STAGEDIR}${MAN6PREFIX}/share/man/man6/