SUMMARY="A note taking application"
DESCRIPTION="
With this application you can:
- Write a note
- Edit the font family, color and size
- Change the color of your note
- Move your note on the desktop
- Link a note to a particular application
- Tag your note for easy search
- Set an alarm to reminds you date, appointments and so on
"
COPYRIGHT="Copyright 2009, Ilio Catallo, Stefano Celentano, Eleonora Ciceri, all rights reserved"
LICENSE="GNU GPL v2"
HOMEPAGE="https://github.com/HaikuArchives/TakeNotes"
SRC_URI="git+https://github.com/HaikuArchives/TakeNotes#3ee7d80b53"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"

PROVIDES="
	takenotes=$portVersion
	app:takenotes=$portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	cmd:mkdepend
	"

PATCHES="takenotes-1.0.0.patchset"

BUILD()
{
	make OBJ_DIR=objects \
		BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

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