blob: 82c2c84c365cd5943f0397827ab4ed66123355e5 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/baekmuk-fonts/baekmuk-fonts-2.1.ebuild,v 1.2 2003/02/13 17:06:25 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Korean Baekmuk Font"
SRC_URI="http://gentoo.or.kr/distfiles/baekmuk-fonts/${P}.tar.gz"
SLOT="0"
LICENSE="BAEKMUK"
KEYWORDS="~x86 ~ppc ~sparc"
DEPEND="virtual/x11"
src_install () {
dodir /usr/X11R6/lib/X11/fonts/baekmuk-2.1
dodir /usr/share/fonts/ttf/korean/baekmuk-2.1
mv ${S}/bdf/{*.bdf,fonts.dir} \
${D}/usr/X11R6/lib/X11/fonts/baekmuk-2.1/
mv ${S}/ttf/* ${D}/usr/share/fonts/ttf/korean/baekmuk-2.1/
dodoc README COPYRIGHT COPYRIGHT.ks hconfig.ps
}
pkg_postinst() {
einfo "You MUST add the path of Backmuk fonts in /etc/X11/XF86Config"
einfo ""
einfo "\tSection \"Files\""
einfo "\t\tFontPath \"/usr/X11R6/lib/X11/fonts/baekmuk-2.1/\" *"
einfo ""
einfo "If you use xft, do"
einfo ""
einfo "\t\tdir \"/usr/share/fonts/ttf/korean/baekmuk-2.1\""
einfo ""
einfo "and then"
einfo ""
einfo "# cd /usr/share/fonts/ttf/korean/baekmuk-2.1/"
einfo "# /usr/X11R6/bin/xftcache"
einfo ""
einfo "Lastly, you must restart your X server"
}
|