diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2007-09-04 02:49:19 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2007-09-04 02:49:19 +0000 |
commit | 8ece67b3547a0ba68710224da217c9d7b89bb708 (patch) | |
tree | 4c9b70427d9e2b4ef1780ed0be64a2341c4220ed /media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild | |
parent | Use font-ebdftopcf.eclass to process bdf files. Bug #171251 by James Rowe. (diff) | |
download | gentoo-2-8ece67b3547a0ba68710224da217c9d7b89bb708.tar.gz gentoo-2-8ece67b3547a0ba68710224da217c9d7b89bb708.tar.bz2 gentoo-2-8ece67b3547a0ba68710224da217c9d7b89bb708.zip |
Use font-ebdftopcf.eclass to process bdf files. Bug #171249 by James Rowe.
(Portage version: 2.1.3.7)
Diffstat (limited to 'media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild')
-rw-r--r-- | media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild index 30f4bf490b0d..52138839637a 100644 --- a/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild +++ b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild,v 1.5 2006/11/26 23:48:48 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild,v 1.6 2007/09/04 02:49:19 dirtyepic Exp $ -inherit font eutils +inherit font eutils font-ebdftopcf DESCRIPTION="Linux Font Project fixed-width fonts" SRC_URI="mirror://sourceforge/xfonts/${PN}-src-${PV}.tar.bz2" @@ -13,26 +13,27 @@ SLOT="0" KEYWORDS="alpha amd64 arm ia64 ppc s390 sh sparc x86 ~x86-fbsd" IUSE="" -S=${WORKDIR}/${PN}-src +S="${WORKDIR}/${PN}-src" FONT_SUFFIX="pcf.gz" +FONT_S="${S}/src" -FONT_S=${S}/lfp-fix +DOCS="${S}/doc/*" -DOCS="doc/*" +# Only installs fonts +RESTRICT="strip binchecks" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" epatch ${FILESDIR}/${PN}-0.83-noglyph.patch } src_compile() { - cd src + cd "${FONT_S}" for a in *.bdf; do cat < ${a} | ( rm ${a}; sed '/^FONT /s/\(.*-\)C*-/\1C-/' > ${a} ) done - # use built-in ucs2any - PATH=".:${PATH}" ./compile || die "compile failed" + ebdftopcf *.bdf } |