SUMMARY="A color picker like that in Adobe Photoshop"
DESCRIPTION="
	You can easily choose a color and then drag it to the place where you \
	need it: for example the Haiku Desktop, Insite Constructor, any text \
	editor (insert as HTML hex code) and much more...
The Features:

 * You can collect up to 10 favorite colors which are restored the next time \
 you start Colors.
 * You get a color preview for text (text and background color).
 * With an eye-dropper tool you can pick a color from anywhere on your desktop.
	"
HOMEPAGE="https://github.com/jscipione/Colors"
SOURCE_URI="git://github.com/jscipione/Colors#9d832d2c995f822e6386223cb36840743c7e886a"
COPYRIGHT="
	2001-2008 Werner Freytag
	2009-2013 John Scipione
	"
LICENSE="MIT"
REVISION="1"

ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"

PROVIDES="
	colors$secondaryArchSuffix = $portVersion
	app:Colors = $portVersion
	"
REQUIRES=""


BUILD_PREREQUIRES="
	haiku${secondaryArchSuffix}_devel
	makefile_engine
	cmd:gcc$secondaryArchSuffix
	cmd:make
	"

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir
	cp objects/Colors $appsDir

	addAppDeskbarSymlink $appsDir/Colors
}
