blob: fd9e200ff45193d318f3c1b43d85ed385087f645 (
plain)
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
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/shinonome/shinonome-0.9.10.ebuild,v 1.10 2007/01/05 17:11:25 flameeyes Exp $
IUSE=""
DESCRIPTION="Japanese bitmap fonts for X"
SRC_URI="http://openlab.jp/efont/dist/shinonome/${P}.tar.bz2"
HOMEPAGE="http://openlab.jp/efont/shinonome/"
LICENSE="public-domain"
SLOT=0
KEYWORDS="alpha amd64 ppc sparc x86"
DEPEND="virtual/libc
|| ( ( x11-apps/bdftopcf
x11-apps/mkfontdir
)
virtual/x11
)
dev-lang/perl
sys-apps/gawk"
RDEPEND=""
FONTDIR="/usr/share/fonts/shinonome"
src_compile(){
econf --with-pcf --without-bdf --enable-compress=gzip \
--with-fontdir=${D}/${FONTDIR} || die
emake || die
}
src_install(){
emake install || die
emake install-alias || die
dodoc AUTHORS BUGS ChangeLog* DESIGN* INSTALL LICENSE README THANKS TODO
}
pkg_postinst(){
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 ""
}
pkg_postrm(){
elog "You need you remove following line in 'Section \"Files\"' in"
elog "XF86Config, to unmerge this package completely."
elog ""
elog "\t FontPath \"${FONTDIR}\""
elog ""
}
|