/[gentoo-x86]/media-fonts/jisx0213-fonts/jisx0213-fonts-1.03.ebuild
Gentoo

Contents of /media-fonts/jisx0213-fonts/jisx0213-fonts-1.03.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Sep 29 06:20:17 2004 UTC (15 years ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Removed old ebuild.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-fonts/jisx0213-fonts/jisx0213-fonts-1.03.ebuild,v 1.5 2004/08/03 17:49:28 usata Exp $
4
5 IUSE="X"
6
7 DESCRIPTION="Japanese fixed fonts that cover JIS0213 charset"
8
9 HOMEPAGE="http://www12.ocn.ne.jp/~imamura/jisx0213.html"
10 SRC_BASE1=http://www12.ocn.ne.jp/~imamura
11 SRC_BASE2=http://gitatsu.hp.infoseek.co.jp/bdf
12 SRC_URI="${SRC_BASE1}/jiskan16-2000-1.bdf.gz
13 ${SRC_BASE1}/jiskan16-2000-2.bdf.gz
14 ${SRC_BASE1}/K14-2000-1.bdf.gz
15 ${SRC_BASE1}/K14-2000-2.bdf.gz
16 ${SRC_BASE1}/A14.bdf.gz
17 ${SRC_BASE1}/A12.bdf.gz
18 ${SRC_BASE2}/jiskan24-2000-1.bdf.gz
19 ${SRC_BASE2}/jiskan24-2000-2.bdf.gz"
20
21 LICENSE="public-domain"
22 SLOT="0"
23
24 KEYWORDS="x86 alpha ~sparc ppc ~amd64"
25
26 DEPEND="virtual/x11"
27 RDEPEND="X? ( virtual/x11 )"
28
29 S=${WORKDIR}
30 FONTDIR="/usr/share/fonts/jisx0213"
31
32 src_compile() {
33
34 for i in *.bdf; do
35 echo "Converting $i into pcf format..."
36 bdftopcf -o ${i/bdf/pcf} $i
37 gzip -9 ${i/bdf/pcf}
38 done
39 }
40
41 src_install() {
42
43 insinto ${FONTDIR}
44 doins *.pcf.gz
45 use X && mkfontdir ${D}/${FONTDIR}
46 }
47
48 pkg_postinst(){
49 einfo "You need you add following line into 'Section \"Files\"' in"
50 einfo "XF86Config and reboot X Window System, to use these fonts."
51 einfo ""
52 einfo "\t FontPath \"${FONTDIR}\""
53 einfo ""
54 }
55
56 pkg_postrm(){
57 einfo "You need you remove following line in 'Section \"Files\"' in"
58 einfo "XF86Config, to unmerge this package completely."
59 einfo ""
60 einfo "\t FontPath \"${FONTDIR}\""
61 einfo ""
62 }

  ViewVC Help
Powered by ViewVC 1.1.20