You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
954 B
41 lines
954 B
# Copyright 1999-2009 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild,v 1.3 2009/09/21 21:55:54 maekke Exp $
|
|
|
|
inherit font versionator
|
|
|
|
MY_P=AncientSemiticFonts-$(replace_version_separator 2 '-')
|
|
|
|
DESCRIPTION="Ancient Semitic Scripts"
|
|
HOMEPAGE="http://culmus.sourceforge.net/"
|
|
SRC_URI="!fontforge? ( mirror://sourceforge/culmus/${MY_P}.TTF.tgz )
|
|
fontforge? ( mirror://sourceforge/culmus/${MY_P}.tgz )"
|
|
|
|
KEYWORDS="amd64 x86"
|
|
SLOT="0"
|
|
LICENSE="GPL-2 MIT"
|
|
IUSE="fontforge"
|
|
|
|
DEPEND="fontforge? ( media-gfx/fontforge )"
|
|
RDEPEND=""
|
|
|
|
FONT_SUFFIX="ttf"
|
|
DOCS="CHANGES README"
|
|
|
|
if use fontforge; then
|
|
S=${WORKDIR}/${MY_P}
|
|
FONT_S=${S}/src
|
|
else
|
|
S=${WORKDIR}/${MY_P}.TTF
|
|
FONT_S=${S}/fonts
|
|
fi
|
|
|
|
src_compile() {
|
|
if use fontforge; then
|
|
cd src
|
|
export FONTFORGE_LANGUAGE=ff
|
|
make clean
|
|
make all || die "Failed to build fonts"
|
|
fi
|
|
}
|