SUMMARY="A puzzle game consisting of marbles that roll along paths"
DESCRIPTION="Pathological is an enriched clone of the game Logical by Rainbow \
Arts.
To solve a level, fill each wheel with four marbles of matching color.
Various board elements such as teleporters, switches, filters, etc., make the \
game interesting and challenging.
New levels can be created using your favorite text editor."
HOMEPAGE="http://pathological.sourceforge.net/"
COPYRIGHT="2003 John-Paul Gignac"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://sourceforge.net/projects/pathological/files/pathological/$portVersion/pathological-$portVersion.tar.gz"
CHECKSUM_SHA256="813ef0812ba6b3218b35c2ddea423c9c6ee912925824497f52d5310bc76f85de"

ARCHITECTURES="!all"

PROVIDES="
	pathological = $portVersion
	app:pathological = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:make
	"

BUILD()
{
	#paths are hardcoded in the makefile,
	#they should point to the correct installation paths
	make $jobArgs
}

INSTALL()
{
	make install DESTDIR=$appsDir/Pathological
}
