1SUMMARY="A little arcade puzzle game" 2DESCRIPTION="Monsterz is a little arcade puzzle game, similar to the famous \ 3Bejeweled or Zookeeper. The goal of the game is to create rows of similar \ 4monsters, either horizontally or vertically. The only allowed move is the swap \ 5of two adjacent monsters, on the condition that it creates a row of three or \ 6more. When alignments are cleared, pieces fall from the top of the screen to \ 7fill the board again. Chain reactions earn you even more points." 8HOMEPAGE="http://sam.zoy.org/monsterz/" 9COPYRIGHT="2007 Sam Hocevar, Brendan Rackley, MenTaLguY, Sun Microsystems\ 10Michael Speck, David White Mike Kershaw" 11LICENSE="WTFPL v2 12 GNU GPL v1 13 GNU LGPL v2" 14REVISION="4" 15SOURCE_URI="http://sam.zoy.org/monsterz/monsterz-$portVersion.tar.gz" 16CHECKSUM_SHA256="50828b8fa26d107bcc2bd134328f83c905b9f5e124846bdf239daf0eed34973d" 17PATCHES="monsterz-$portVersion.patchset" 18ADDITIONAL_FILES="monsterz.hvif" 19 20ARCHITECTURES="any" 21 22PROVIDES=" 23 monsterz = $portVersion 24 " 25REQUIRES=" 26 haiku 27 pygame 28 " 29 30BUILD_REQUIRES=" 31 haiku_devel 32 " 33 34INSTALL() 35{ 36 mkdir -p $appsDir/Monsterz 37 rm -f graphics/graphics.svg graphics/pattern.png 38 39 entries=(graphics sound AUTHORS README) 40 for entry in ${entries[@]}; do 41 cp -r $entry $appsDir/Monsterz 42 done 43 44 entryPoint=$appsDir/Monsterz/Monsterz 45 46 cp monsterz.py $entryPoint 47 48 addattr -t mime "BEOS:TYPE" application/x-vnd.be-elfexecutable $entryPoint 49 addattr -t mime "BEOS:APP_SIG" application/x-vnd.sam-monsterz $entryPoint 50 addattr -t icon -f $portDir/additional-files/monsterz.hvif \ 51 "BEOS:ICON" $entryPoint 52 53 addAppDeskbarSymlink $entryPoint "Monsterz" 54} 55