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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Jul 22 07:38:59 2007 UTC (12 years, 3 months ago) by dirtyepic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove old.
(Portage version: 2.1.3_rc8)

1 # Copyright 1999-2007 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-20040425.ebuild,v 1.4 2007/01/05 17:06:11 flameeyes Exp $
4
5 IUSE=""
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-2004-1.bdf.gz
13 ${SRC_BASE1}/jiskan16-2000-1.bdf.gz
14 ${SRC_BASE1}/jiskan16-2000-2.bdf.gz
15 ${SRC_BASE1}/K14-2004-1.bdf.gz
16 ${SRC_BASE1}/K14-2000-1.bdf.gz
17 ${SRC_BASE1}/K14-2000-2.bdf.gz
18 ${SRC_BASE1}/K12-1.bdf.gz
19 ${SRC_BASE1}/K12-2.bdf.gz
20 ${SRC_BASE1}/A14.bdf.gz
21 ${SRC_BASE1}/A12.bdf.gz
22 ${SRC_BASE2}/jiskan24-2000-1.bdf.gz
23 ${SRC_BASE2}/jiskan24-2000-2.bdf.gz"
24
25 LICENSE="public-domain"
26 SLOT="0"
27
28 KEYWORDS="alpha amd64 ppc ~sparc x86"
29
30 DEPEND="|| ( ( x11-apps/bdftopcf
31 x11-apps/mkfontdir
32 )
33 virtual/x11
34 )"
35
36 S=${WORKDIR}
37 FONTDIR="/usr/share/fonts/jisx0213"
38
39 src_compile() {
40
41 for i in *.bdf; do
42 echo "Converting $i into pcf format..."
43 bdftopcf -o ${i/bdf/pcf} $i
44 gzip -9 ${i/bdf/pcf}
45 done
46 }
47
48 src_install() {
49
50 insinto ${FONTDIR}
51 doins *.pcf.gz
52 use X && mkfontdir ${D}/${FONTDIR}
53 }
54
55 pkg_postinst(){
56 elog "You need you add following line into 'Section \"Files\"' in"
57 elog "XF86Config and reboot X Window System, to use these fonts."
58 elog ""
59 elog "\t FontPath \"${FONTDIR}\""
60 elog ""
61 }
62
63 pkg_postrm(){
64 elog "You need you remove following line in 'Section \"Files\"' in"
65 elog "XF86Config, to unmerge this package completely."
66 elog ""
67 elog "\t FontPath \"${FONTDIR}\""
68 elog ""
69 }

  ViewVC Help
Powered by ViewVC 1.1.20