SUMMARY="A small application to show your installed fonts"
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.
"
HOMEPAGE="https://github.com/HaikuArchives/FontBoy"
SOURCE_URI="https://github.com/HaikuArchives/FontBoy/archive/v0.9.7.tar.gz"
CHECKSUM_SHA256="984a43f177ceb162ac70b4617c29fb3d7aa00ecd077643bf1dfeb3861aac5500"
SOURCE_DIR="FontBoy-0.9.7"
REVISION="3"
LICENSE="Artistic"
COPYRIGHT="1999-2003 Oliver 'Madison' Kohl"

ARCHITECTURES="x86 x86_gcc2"

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

BUILD()
{
	cd src
	make $jobArgs
}

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