1SUMMARY="A fast-paced puzzle game"
2DESCRIPTION="Gem Drop X is a fast-paced puzzle game where it is your job to \
3clear the screen of gems before they squash you! (You are at the bottom, they \
4are at the top, and they keep coming!) \
5Gem Drop X was directly ported from the original GemDrop for the Atari��8-bit, \
6which was based on \"Magical��Drop��III\" by SNK. \
7You grab gems (up to 10) of the same color and use them to knock more gems \
8off the screen. Match 3 or more of the same color in a column and >BAM!< \
9they explode! Any adjacent gems of the same color also explode, causing a \
10chain reaction that might cover the entire screen! \
11The more gems that disappear with one shot, the higher the score you get!"
12HOMEPAGE="http://www.newbreedsoftware.com/gemdropx/"
13COPYRIGHT="2002 Bill Kendrick"
14LICENSE="GNU GPL v2"
15REVISION="2"
16SOURCE_URI="ftp://ftp.tuxpaint.org/unix/x/gemdropx/src/gemdropx-$portVersion.tar.gz"
17CHECKSUM_SHA256="e50495d292a1d456c28044efbf07c16d8865f8d95e1caba86f4c5b2e3fb1d28f"
18PATCHES="gemdropx-$portVersion.patchset"
19
20ARCHITECTURES="?all x86_gcc2"
21
22PROVIDES="
23	gemdropx = $portVersion
24	app:GemdropX = $portVersion
25	"
26REQUIRES="
27	haiku
28	lib:libSDL_1.2
29	lib:libSDL_mixer_1.2
30	"
31
32BUILD_REQUIRES="
33	haiku_devel
34	devel:libSDL
35	devel:libSDL_mixer
36	"
37BUILD_PREREQUIRES="
38	cmd:gcc
39	cmd:make
40	"
41
42BUILD()
43{
44	make DATA_PREFIX=$dataDir/gemdropx
45}
46
47INSTALL()
48{
49	mkdir -p $appsDir $dataDir/gemdropx
50	cp -r data/* $dataDir/gemdropx
51	cp gemdropx $appsDir
52	mv $appsDir/gemdropx $appsDir/GemdropX
53
54	addAppDeskbarSymlink $appsDir/GemdropX
55}
56