diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-06-02 13:48:24 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-06-02 13:48:24 +0000 |
commit | a663c2d0cd594e99c1efb526bd66516b6355785b (patch) | |
tree | 255bb8c06c16738a7e858713eb1e37fe7203290d /media-fonts/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild | |
parent | moved to media-fonts category (diff) | |
download | gentoo-2-a663c2d0cd594e99c1efb526bd66516b6355785b.tar.gz gentoo-2-a663c2d0cd594e99c1efb526bd66516b6355785b.tar.bz2 gentoo-2-a663c2d0cd594e99c1efb526bd66516b6355785b.zip |
moved to media-fonts category
Diffstat (limited to 'media-fonts/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild')
-rw-r--r-- | media-fonts/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/media-fonts/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild new file mode 100644 index 000000000000..09bdac7ccb58 --- /dev/null +++ b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild,v 1.1 2003/06/02 13:47:22 seemant Exp $ + +S=${WORKDIR}/${PN}-src +DESCRIPTION="Linux Font Project fixed-width fonts" +SRC_URI="http://dreamer.nitro.dk/linux/lfp/${PN}-src-${PV}.tar.bz2" +HOMEPAGE="http://dreamer.nitro.dk/linux/lfp/" +LICENSE="public-domain" +KEYWORDS="x86 sparc ppc alpha" +SLOT="0" + +# hopefully anything satisfying virtual/x11 will also provide bdftopcf +DEPEND="virtual/x11" + +src_compile() { + cd src + for a in *.bdf; do + cat < ${a} | ( rm ${a}; sed '/^FONT /s/\(.*-\)C*-/\1C-/' > ${a} ) + done + ./compile || die "compile failed" +} + +src_install() { + dodoc doc/* + cd lfp-fix + insinto /usr/X11R6/lib/X11/fonts/lfp-fix + insopts -m0644 + doins * +} |