SUMMARY="A small application to show your installed fonts in Haiku."
DESCRIPTION="
Fontboy is a small application to show your installed fonts in Haiku. You can \
get additional information of the selected font and a preview of the complete \
Unicode charset. Fontboy allows you to adjust the appearence to your desired \
needs and it's fast because Haiku is.
"
HOMEPAGE="https://github.com/HaikuArchives/FontBoy"
SRC_URI="git://github.com/HaikuArchives/FontBoy.git#2195924e69096a5e7a9774cfaec8fdc277045ecf"
REVISION="1"
LICENSE="FontBoy"
COPYRIGHT="1999-2003 Oliver 'Madison' Kohl"

ARCHITECTURES="x86 x86_gcc2"

PROVIDES="
	fontboy = $portVersion
	app:fontboy = $portVersion
	"
REQUIRES="
	haiku >= $haikuVersion
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	cmd:xres
	cmd:mkdepend
	cmd:make
	"
BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"
USER_SETTINGS_FILES="
	settings/Fontboy_prefs
	"

BUILD()
{
	cd src
	make
}

INSTALL()
{
	cd src
	make install INSTALL_DIR=$appsDir/
	addAppDeskbarSymlink $appsDir/FontBoy
}
