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"
COPYRIGHT="2008 T. Lansbergen"
LICENSE="Niue"
REVISION="1"
srcGitRev="6745dcca121799572d0b4c98f9a006b6a657aac2"
SOURCE_URI="https://github.com/HaikuArchives/Niue/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="7d82a163ae62fb45980df058c7010a3baba54d7648b8cf6229a32601ebd92610"
SOURCE_DIR="Niue-$srcGitRev"

ARCHITECTURES="?all x86_gcc2"

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

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

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

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