SUMMARY="A font containing scalable vector icons"
DESCRIPTION="FontAwesome contains over 600 icons and is most widely used on \
the internet to depict certain actions. Haiku's discussion forum at \
https://discuss.haiku-os.org uses it as well.
As long as Haiku doesn't support loading a font that's not installed, you \
should install this webfont to see all the icons on the discussion forum."
HOMEPAGE="http://fontawesome.io"
COPYRIGHT="2013-2016 Dave Gandy"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/FortAwesome/Font-Awesome/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="de512ba0e1dead382bbfce372cde74b3f18971d876fffb635ee9333f0db05d43"
SOURCE_DIR=""

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="
	fontawesome = $portVersion
	"

BUILD_PREREQUIRES="
	coreutils
	"

INSTALL()
{
	FONTDIR=$fontsDir/ttfonts
	mkdir -p ${FONTDIR}
	cd Font-Awesome-$portVersion
	cp -a fonts/fontawesome-webfont.ttf ${FONTDIR}
}
