1SUMMARY="Abandoned Bricks is a tetris like cross-platform puzzle game"
2DESCRIPTION="The goal of the game is to reach the highest possible score. \
3Shapes fall from the top of the screen. You can move them sideways and \
4rotate them in order to get the best fit when they reach the bottom. \
5When you manage to complete a horizontal line, it disappears. When screen \
6is full the game is over. The game speeds up whenever the lines are full. \
7Therefore, it's better to fill as many lines you can at once. That way you \
8can reach higher levels with the same speed."
9HOMEPAGE="http://www.abrick.sourceforge.net"
10COPYRIGHT="2004-2005 Milan Babuskov"
11LICENSE="GNU GPL v2"
12REVISION="2"
13SOURCE_URI="http://sourceforge.net/projects/abrick/files/abrick/abrick-1.12/abrick-1.12-src.tar.gz"
14CHECKSUM_SHA256="75113463cb8cdbcd0ed251865253c1124ae493b5c1a35393e901b3337c9d0c74"
15SOURCE_DIR="abrick-1.12-src"
16PATCHES="abrick-1.12.patch"
17
18ARCHITECTURES="?all x86_gcc2"
19
20PROVIDES="
21	abrick = $portVersion
22	app:abrick = $portVersion
23	"
24REQUIRES="
25	haiku
26	lib:libSDL_1.2
27	lib:libSDL_image_1.2
28	lib:libSDL_mixer_1.2
29	"
30
31BUILD_REQUIRES="
32	haiku_devel
33	devel:libSDL
34	devel:libSDL_image
35	devel:libSDL_mixer
36	"
37BUILD_PREREQUIRES="
38	cmd:gcc
39	cmd:make
40	"
41
42BUILD()
43{
44	make $jobArgs
45}
46
47INSTALL()
48{
49	mkdir -p $appsDir/Abrick $documentationDir/packages/abrick
50	cp -af abrick $appsDir/Abrick
51	cp -af data $appsDir/Abrick
52	cp -af html/* $documentationDir/packages/abrick
53	addAppDeskbarSymlink $appsDir/Abrick/abrick Abrick
54}
55