SUMMARY="A spider solitaire clone for Haiku"
DESCRIPTION="
Spider solitaire is a popular version of solitaire, where the goal \
is to stack all the cards of a suit, from king to ace.
When you have stacked as many cards as you can, you can use a \
stock to place a new card on top of every pile.
"
HOMEPAGE="https://github.com/HaikuArchives/BeSpider"
SRC_URI="git://github.com/HaikuArchives/BeSpider.git#2af10fba06839a79a96b7cde98fd7e10abce7ec9"
LICENSE="MIT"
COPYRIGHT="2013 Przemysław Buczkowski, 
	2013 Luke (noryb009)"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"

PROVIDES="
	bespider = $portVersion
	app:bespider = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	cmd:gcc
	makefile_engine
	cmd:make
	cmd:mkdepend
	"

BUILD()
{
	make
	make bindcatalogs
}

INSTALL()
{
	make install INSTALL_DIR=$appsDir
	addAppDeskbarSymlink $appsDir/BeSpider
}
