SUMMARY="A web editor"
DESCRIPTION="Globe is an editor with support for HTML and PHP. It offers \
syntax highlighting and basic project management."
HOMEPAGE="http://globe.beos.hu/index_en.html"
COPYRIGHT="2001-2004 Gergely Rózsahegyi"
LICENSE="GNU GPL v2"
REVISION="4"
SOURCE_URI="https://github.com/HaikuArchives/Globe/archive/93b044c9e4eb2d12b18d138cec010507840c6836.tar.gz"
CHECKSUM_SHA256="28c410dcc019267d8e400f4e56ae7cf7a0a1d80d34f78dd292f4f84d1fb31bc6"
SOURCE_DIR="Globe-93b044c9e4eb2d12b18d138cec010507840c6836"

ARCHITECTURES="all"

PROVIDES="
	globe = $portVersion
	app:Globe = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	cd src
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	cd src
	mkdir -p $appsDir
	cp objects/Globe $appsDir/Globe
	addAppDeskbarSymlink $appsDir/Globe
}
