SUMMARY="Font family from Ubuntu operating system"
DESCRIPTION="\
The Ubuntu Font Family belongs to sans-serif typeface. It's set as default \
font for the current releases of  Ubuntu, one of the most popular Linux-based \
operating systems. It was designed by Dalton Maag in 2010 and now it covers \
200-250 languages. The Ubuntu Font Family is included in Google Fonts too.
"
HOMEPAGE="http://font.ubuntu.com"
SOURCE_URI="http://font.ubuntu.com/download/ubuntu-font-family-0.80.zip"
CHECKSUM_SHA256="107170099bbc3beae8602b97a5c423525d363106c3c24f787d43e09811298e4c"
LICENSE="Ubuntu Font License 1.0"
COPYRIGHT="2011 Canonical Ltd."
REVISION="4"

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes

PROVIDES="ubuntu_font_family = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"

SOURCE_DIR="ubuntu-font-family-0.80"

BUILD()
{
	true
}

INSTALL()
{
	FONTDIR=$fontsDir/ttfonts
	mkdir -p ${FONTDIR}
	cp Ubuntu-B.ttf ${FONTDIR}
	cp Ubuntu-BI.ttf ${FONTDIR}
	cp Ubuntu-C.ttf ${FONTDIR}
	cp Ubuntu-L.ttf ${FONTDIR}
	cp Ubuntu-LI.ttf ${FONTDIR}
	cp Ubuntu-M.ttf ${FONTDIR}
	cp Ubuntu-MI.ttf ${FONTDIR}
	cp Ubuntu-R.ttf ${FONTDIR}
	cp Ubuntu-RI.ttf ${FONTDIR}
	cp UbuntuMono-B.ttf ${FONTDIR}
	cp UbuntuMono-BI.ttf ${FONTDIR}
	cp UbuntuMono-R.ttf ${FONTDIR}
	cp UbuntuMono-RI.ttf ${FONTDIR}
	cp README.txt ${FONTDIR}/ubuntu_font_family.readme
}
