# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit font

DESCRIPTION="Unicode fonts for symbol blocks of The Unicode Standard"
HOMEPAGE="http://users.teilar.gr/~g1951d/"
SRC_URI="http://users.teilar.gr/~g1951d/${PN^}.zip -> ${P}.zip"

LICENSE="Unicode_Fonts_for_Ancient_Scripts"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="doc"

DEPEND="app-arch/unzip"
RDEPEND=""

# Only installs fonts
RESTRICT="strip binchecks"

S=${WORKDIR}
FONT_S=${S}
FONT_SUFFIX="ttf"

src_prepare() {
	if use doc; then
		DOCS="${PN^}.docx ${PN^}.pdf"
	fi
}