SUMMARY="DockBert adds a dock to your deskbar"
DESCRIPTION="
DockBert is a Deskbar modification. It adds a dock to your deskbar where you \
may have shortcuts organized in \"tabs\", a tab of the running apps and some \
other general eyecandy.
"
HOMEPAGE="https://github.com/HaikuArchives/DockBert"
SRC_URI="git+https://github.com/HaikuArchives/DockBert#057c54674d"
COPYRIGHT="2005 yellowTAB GmbH"
LICENSE="BSD (3-clause)"

REVISION="2"

ARCHITECTURES="x86_gcc2 x86 ?x86_64"

PROVIDES="
	dockbert = $portVersion
	app:dockbert = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

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

PATCHES="dockbert-1.0.2b1.patchset"

BUILD()
{
	cd trunk
	make OBJ_DIR=objects \
		BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

INSTALL()
{	
	mkdir -p $appsDir
	cp -a trunk/objects/Dock $appsDir/Dock
	addAppDeskbarSymlink $appsDir/Dock
}
