SUMMARY="An easy to use but powerful development environment"
DESCRIPTION="Niue is an easy to use but powerful development environment for \
Haiku. It supports project management, syntax highlighting, GUI builder and more."

HOMEPAGE="https://github.com/HaikuArchives/Niue"
SOURCE_URI="git+https://github.com/HaikuArchives/Niue#6745dcca121799572d0b4c98f9a006b6a657aac2"
REVISION="1"
LICENSE="Niue"
COPYRIGHT="2008 T. Lansbergen"

ARCHITECTURES="x86_gcc2"

PROVIDES="
	niue = $portVersion
	app:niue = $portVersion
	"
REQUIRES="
	haiku
	"
BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:make
	cmd:gcc
	"

BUILD()
{
	mkdir Source/obj.x86
	make -C Source $jobArgs
}

INSTALL()
{
	mkdir -p $appsDir
	cp -a Source/Niue $appsDir
	addAppDeskbarSymlink $appsDir/Niue
}
