0
0
Fork 0
haikuports/games-strategy/netpanzer/netpanzer-0.8.6.recipe

60 lines
1.9 KiB
Bash

SUMMARY="Online multiplayer isometric tank game"
DESCRIPTION="netPanzer is an isometric view real-time tactical game designed \
for play across the Internet and over LAN systems. One on one games are \
possible via direct connect or modem. netPanzer is designed for FAST ACTION \
combat -- it is not another resource management clone. In fact, there aren't \
any resources at all. Each player will have many units of different types at \
their disposal.\
\
Players can fight until their units are destroyed -- then respawn and keep on \
going. The game is real-time, but it's based on quick tactical action and unit \
management. Battles progress quickly and constantly; in fact, they never let \
up. There is no stop in the action because there is no waiting for resources \
to be collected and converted into weaponry. Players can join or leave \
multiplayer games at any time."
HOMEPAGE="https://www.netpanzer.info/"
COPYRIGHT="1999 Pyrosoft
2007-2015 NetPanzer developers"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="svn://svn.code.sf.net/p/netpanzerfp/code/trunk/netpanzer#1450"
PATCHES="netpanzer-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
netpanzer$secondaryArchSuffix = $portVersion
cmd:netpanzer$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libphysfs$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
lib:libSDL_mixer_1.2$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libphysfs$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:scons
cmd:svnversion
"
BUILD()
{
scons with_physfs=physfs datadir=$dataDir/netpanzer $jobArgs
}
INSTALL()
{
mkdir -p $dataDir/netpanzer $binDir
cp -r cache maps pics powerups scripts sound units wads $dataDir/netpanzer
cp netpanzer $binDir
}