SUMMARY="Source code editor"
DESCRIPTION="
Microbe is a minimalistic programmers text and source code editor.
"
HOMEPAGE="https://github.com/aldeck/microbe"
SOURCE_URI="git://github.com/aldeck/microbe#41f6ce8a5d96c96af9fb17eda1b466a5e9e0bfb1"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2011 Alexandre Deckner"

ARCHITECTURES="x86_gcc2 x86 x86_64"

PROVIDES="
	microbe = $portVersion
	app:Microbe = $portVersion
	"

REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	makefile_engine
	cmd:make
	cmd:g++
	"

PATCHES="microbe-20130728.patch"

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir
	cp objects/Microbe $appsDir/Microbe
	addAppDeskbarSymlink $appsDir/Microbe
}
