SUMMARY="Doom source port that accurately reproduces the experience of Doom" DESCRIPTION="Chocolate Doom is a source port of the game Doom, by id Software. \ The purpose of Chocolate Doom is to be as compatible as possible with the \ original DOS version of Doom." HOMEPAGE="http://www.chocolate-doom.org" COPYRIGHT="Id Software Inc. 1993-1996 Simon Howard James Haley Samuel Villarreal" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="http://www.chocolate-doom.org/downloads/$portVersion/chocolate-doom-$portVersion.tar.gz" SOURCE_DIR="chocolate-doom-$portVersion" CHECKSUM_SHA256="ad11e2871667c6fa0658abf2dcba0cd9b26fbd651ee8df55adfdc18ad8fd674a" ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" chocolate_doom = $portVersion cmd:chocolate_doom = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libsdl$secondaryArchSuffix lib:libsdl_mixer$secondaryArchSuffix lib:libsdl_net$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libsdl$secondaryArchSuffix devel:libsdl_mixer$secondaryArchSuffix devel:libsdl_net$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:awk cmd:gcc$secondaryArchSuffix cmd:install cmd:ld$secondaryArchSuffix cmd:make cmd:pkg_config cmd:python cmd:sed " BUILD() { runConfigure ./configure make $jobArgs } INSTALL() { cd src mkdir -p $binDir cp chocolate-doom \ chocolate-doom-setup \ chocolate-hexen \ chocolate-hexen-setup \ chocolate-heretic \ chocolate-heretic-setup \ chocolate-server \ chocolate-setup \ chocolate-strife-setup \ chocolate-strife $binDir/ }