SUMMARY="Blast the Asteroids!" DESCRIPTION=" You pilot your ship through the dreaded \"Maelstrom\" asteroid belt -- suddenly your best friend thrusts towards you and fires, directly at your cockpit. You raise your shields just in time, and the battle is joined. The deadliest stretch of space known to mankind has just gotten deadlier. Everywhere massive asteroids jostle for a chance to crush your ship, and deadly shinobi fighter patrols pursue you across the asteroid belt. But the deadliest of them all is your sister ship, assigned to you on patrol. The pilot, trained by your own Navy, battle hardened by months in the Maelstrom, is equipped with a twin of your own ship and intimate knowledge of your tactics. The lovely Stratocaster R&R facility never sounded so good, but as you fire full thrusters to dodge the latest barrage you begin to think you'll never get home... " HOMEPAGE="http://www.libsdl.org/projects/Maelstrom" COPYRIGHT="1996-2005 Sam Lantinga" LICENSE="GNU GPL v2" SOURCE_URI="http://www.libsdl.org/projects/Maelstrom/src/Maelstrom-$portVersion.tar.gz" CHECKSUM_SHA256="e7983c2c7376cdcca1944db1706d92aedd529638cf13358c88a60df982ba7b46" REVISION="1" ARCHITECTURES="x86_gcc2 x86" SECONDARY_ARCHITECTURES="x86" PROVIDES=" maelstrom$secondaryArchSuffix = $portVersion app:Maelstrom " REQUIRES=" haiku$secondaryArchSuffix lib:libsdl$secondaryArchSuffix lib:libSDL_net$secondaryArchSuffix " BUILD_REQUIRES=" devel:libsdl$secondaryArchSuffix devel:libSDL_net$secondaryArchSuffix " BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel cmd:autom4te cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make cmd:nasm cmd:libtoolize " SOURCE_DIR="Maelstrom-$portVersion" PATCHES="maelstrom-$portVersion.patchset" BUILD() { libtoolize --force --copy --install aclocal touch NEWS AUTHORS ChangeLog # Yeah, automake needs all this stuff... automake --add-missing autoconf export LDFLAGS=-lnetwork export CPPFLAGS=-D__BEOS__ runConfigure --omit-dirs "docDir dataRootDir" ./configure make $jobArgs } INSTALL() { make install rm -rf $appsDir mv $prefix/games $appsDir cp Maelstrom Maelstrom-netd $appsDir/Maelstrom/ addAppDeskbarSymlink $appsDir/Maelstrom/Maelstrom Maelstrom }