forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jisx0213-fonts-20040425-r2.ebuild
45 lines (37 loc) · 1.19 KB
/
jisx0213-fonts-20040425-r2.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit font font-ebdftopcf
DESCRIPTION="Japanese fixed fonts that cover JIS0213 charset"
HOMEPAGE="http://www12.ocn.ne.jp/~imamura/jisx0213.html"
SRC_BASE1="http://www12.ocn.ne.jp/~imamura"
SRC_BASE2="http://gitatsu.hp.infoseek.co.jp/bdf"
SRC_URI="${SRC_BASE1}/jiskan16-2004-1.bdf.gz
${SRC_BASE1}/jiskan16-2000-1.bdf.gz
${SRC_BASE1}/jiskan16-2000-2.bdf.gz
${SRC_BASE1}/K14-2004-1.bdf.gz
${SRC_BASE1}/K14-2000-1.bdf.gz
${SRC_BASE1}/K14-2000-2.bdf.gz
${SRC_BASE1}/K12-1.bdf.gz
${SRC_BASE1}/K12-2.bdf.gz
${SRC_BASE1}/A14.bdf.gz
${SRC_BASE1}/A12.bdf.gz
${SRC_BASE2}/jiskan24-2000-1.bdf.gz
${SRC_BASE2}/jiskan24-2000-2.bdf.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc s390 sh sparc x86 ~x86-fbsd"
S="${WORKDIR}"
FONT_S="${S}"
FONT_PN="${PN/-fonts/}"
FONTDIR="/usr/share/fonts/${FONT_PN}"
# Only installs fonts
RESTRICT="strip binchecks"
pkg_postinst(){
if use X; then
elog "You need you add following line into 'Section \"Files\"' in"
elog "XF86Config and reboot X Window System, to use these fonts."
elog ""
elog "\t FontPath \"${FONTDIR}\""
elog ""
fi
}