# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ EAPI=5 UCD_TR=8 HAN_TR=11 DESCRIPTION="Unicode data from unicode.org" HOMEPAGE="http://unicode.org/" SRC_URI="http://unicode.org/Public/zipped/${PV}/UCD.zip -> UCD-${PV}.zip han? ( http://unicode.org/Public/zipped/${PV}/Unihan.zip -> Unihan-${PV}.zip ) doc? ( http://unicode.org/reports/tr44/tr44-${UCD_TR}.html han? ( http://unicode.org/reports/tr38/tr38-${HAN_TR}.html ) )" LICENSE="unicode" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" IUSE="+han doc" DEPEND="app-arch/unzip" RDEPEND="" S=${WORKDIR} src_install() { insinto /usr/share/${PN} doins -r * use doc && dodoc ${DISTDIR}/tr44-${UCD_TR}.html use doc && use han && dodoc ${DISTDIR}/tr38-${HAN_TR}.html }