diff --git a/haiku-games/criticalmass/criticalmass-2.2.recipe b/haiku-games/criticalmass/criticalmass-2.2.recipe new file mode 100644 index 000000000..460b3d278 --- /dev/null +++ b/haiku-games/criticalmass/criticalmass-2.2.recipe @@ -0,0 +1,51 @@ +SUMMARY="A game of chain reactions taking place in a nuclear reactor" +DESCRIPTION="\ +CriticalMass is a strategy game where your goal is to keep the reaction \ +under control by carefully placing protons and creating chain reactions. \ +It can be played with a friend or against the computer, \ +with different AI levels. +" +HOMEPAGE="https://github.com/pulkomandy/critical-mass" +SRC_URI="git+https://github.com/pulkomandy/critical-mass#f597cad218830451f2ec7f5985bef23020bf28ec" +REVISION="1" +LICENSE="CriticalMass" +COPYRIGHT=" + 1998 Hamish Carr + 2011-2012 Adrien Destugues + " + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + criticalmass = $portVersion + app:criticalmass = $portVersion + " +REQUIRES=" + haiku + lib:libGL + " +BUILD_REQUIRES=" + haiku_devel + devel:libgl + devel:libglu + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:gcc + cmd:make + " + +BUILD() +{ + cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix -Wno-dev + make $jobArgs +} + +INSTALL() +{ + mkdir -p $appsDir + mkdir -p $documentationDir/criticalmass + cp -a Sources/CriticalMass $appsDir + cp -r Documentation/* $documentationDir/criticalmass + addAppDeskbarSymlink $appsDir/CriticalMass +} diff --git a/haiku-games/criticalmass/licenses/CriticalMass b/haiku-games/criticalmass/licenses/CriticalMass new file mode 100644 index 000000000..67532d133 --- /dev/null +++ b/haiku-games/criticalmass/licenses/CriticalMass @@ -0,0 +1,2 @@ +"Nobody sent money when I said it was shareware, so I shan't bother anymore. Consider it freeware. I.e. you can play it, distribute it, throw it in the garbage can, whatever, so long as authorship is acknowledged." +- Hamish Carr