SUMMARY="Font family from Google's Android project"
DESCRIPTION="\
The Droid family of fonts was designed by Ascender's Steve Matteson beginning \
in the fall of 2006. The goal was to provide optimal quality and reading \
comfort on a mobile handset. The Droid fonts were optimized for use in \
application menus, web browsers and for other screen text.
"
HOMEPAGE="https://www.droidfonts.com"
COPYRIGHT="2005-2008 The Android Open Source Project"
LICENSE="Apache v2"
REVISION="3"
SOURCE_URI="http://ports-space.haiku-files.org/media-fonts/source/droid-113.tar.gz"
CHECKSUM_SHA256="c9339f0f1aaa055f8b06a2b28c1c3fb5ddffe6c6a6a7a7735fc0ad93d0eab12f"
SOURCE_DIR="base"

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="droid = $portVersion"
REQUIRES=""

BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"

BUILD()
{
	true
}

INSTALL()
{
	FONTDIR=$fontsDir/ttfonts
	mkdir -p ${FONTDIR}
	cp DroidSans-Bold.ttf ${FONTDIR}
	cp DroidSansFallback.ttf ${FONTDIR}
	cp DroidSerif-Bold.ttf ${FONTDIR}
	cp DroidSerif-Italic.ttf ${FONTDIR}
	cp DroidSans.ttf ${FONTDIR}
	cp DroidSansMono.ttf ${FONTDIR}
	cp DroidSerif-BoldItalic.ttf ${FONTDIR}
	cp DroidSerif-Regular.ttf ${FONTDIR}
}
