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"
COPYRIGHT="1999-2003 Oliver 'Madison' Kohl"
LICENSE="Artistic"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="3842fccf5fe51f014c9d1fa7bcf3e0a1470c8119e9061a6859a80579fe305b9c"
SOURCE_DIR="FontBoy-$portVersion"

ARCHITECTURES="all"

USER_SETTINGS_FILES="
	settings/Fontboy_prefs
	"

PROVIDES="
	fontboy = $portVersion
	app:FontBoy = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	cd src
	make $jobArgs
}

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