mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Update to 2.4.2
This commit is contained in:
parent
857f685df1
commit
5f38767fb1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518173
@ -2,9 +2,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= stratagus
|
||||
PORTVERSION= 2.4.1
|
||||
PORTVERSION= 2.4.2
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
@ -19,14 +18,14 @@ LIB_DEPENDS= libpng.so:graphics/png \
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Wargus
|
||||
|
||||
USES= cmake compiler:c++11-lang gl lua:51 pkgconfig sdl sqlite
|
||||
USES= cmake compiler:c++11-lang gl lua:51 pkgconfig sdl sqlite python:run
|
||||
USE_GL= gl glu
|
||||
USE_SDL= sdl
|
||||
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
|
||||
-DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \
|
||||
-DTOLUA++_INCLUDE_DIR:STRING="${LUA_INCDIR}" \
|
||||
-DTOLUA++_LIBRARY:STRING="${LUA_LIBDIR}/libtolua++.so" \
|
||||
-DENABLE_DEV:BOOL=ON
|
||||
-DTOLUA++_LIBRARY:STRING="${LUA_LIBDIR}/libtolua++.so"
|
||||
CMAKE_ON= ENABLE_DEV
|
||||
|
||||
CXXFLAGS+= -Wno-c++11-narrowing
|
||||
|
||||
@ -57,6 +56,10 @@ X11_CMAKE_BOOL= WITH_X11
|
||||
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
|
||||
FLUIDSYNTH_CMAKE_BOOL= WITH_FLUIDSYNTH
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|' \
|
||||
${WRKSRC}/gameheaders/stratagus-tinyfiledialogs.h
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/stratagus.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1491831354
|
||||
SHA256 (Wargus-stratagus-v2.4.1_GH0.tar.gz) = 4f77d0e3cb09c6322a9d5576b55bc2eb498e041a4d77c79dfc3a9b5612913788
|
||||
SIZE (Wargus-stratagus-v2.4.1_GH0.tar.gz) = 1087678
|
||||
TIMESTAMP = 1538587339
|
||||
SHA256 (Wargus-stratagus-v2.4.2_GH0.tar.gz) = 366be8255c7e7cb694661b5db08b81908885a8ff89007d6e24769bf619235b89
|
||||
SIZE (Wargus-stratagus-v2.4.2_GH0.tar.gz) = 1114717
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/ai/ai_plan.cpp.orig 2016-11-08 14:38:09 UTC
|
||||
+++ src/ai/ai_plan.cpp
|
||||
@@ -343,7 +343,7 @@ int GetTotalBoardCapacity(ITERATOR begin
|
||||
int AiForce::PlanAttack()
|
||||
{
|
||||
CPlayer &player = *AiPlayer->Player;
|
||||
- DebugPrint("%d: Planning for force #%lu of player #%d\n"_C_ player.Index
|
||||
+ DebugPrint("%d: Planning for force #%lu of player #%d\n" _C_ player.Index
|
||||
_C_(long unsigned int)(this - & (AiPlayer->Force[0])) _C_ player.Index);
|
||||
|
||||
TerrainTraversal transporterTerrainTraversal;
|
@ -1,20 +0,0 @@
|
||||
--- src/stratagus/script.cpp.orig 2016-11-08 14:38:09 UTC
|
||||
+++ src/stratagus/script.cpp
|
||||
@@ -767,7 +767,7 @@ NumberDesc *CclParseNumberDesc(lua_State
|
||||
lua_pop(l, 1); // table.
|
||||
} else {
|
||||
lua_pop(l, 1);
|
||||
- LuaError(l, "unknow condition '%s'"_C_ key);
|
||||
+ LuaError(l, "unknow condition '%s'" _C_ key);
|
||||
}
|
||||
} else {
|
||||
LuaError(l, "Parse Error in ParseNumber");
|
||||
@@ -881,7 +881,7 @@ StringDesc *CclParseStringDesc(lua_State
|
||||
res->D.PlayerName = CclParseNumberDesc(l);
|
||||
} else {
|
||||
lua_pop(l, 1);
|
||||
- LuaError(l, "unknow condition '%s'"_C_ key);
|
||||
+ LuaError(l, "unknow condition '%s'" _C_ key);
|
||||
}
|
||||
} else {
|
||||
LuaError(l, "Parse Error in ParseString");
|
@ -1,7 +1,9 @@
|
||||
bin/png2stratagus
|
||||
bin/metaserver
|
||||
bin/stratagus
|
||||
@comment include/stratagus-game-installer.nsi
|
||||
include/stratagus-game-launcher.h
|
||||
include/stratagus-gameutils.h
|
||||
include/stratagus-tinyfiledialogs.h
|
||||
@comment include/stratagus-maemo-extract.h
|
||||
man/man6/stratagus.6.gz
|
||||
sbin/metaserver
|
||||
|
Loading…
Reference in New Issue
Block a user