summaryrefslogtreecommitdiff
blob: e9546fa4c02c59536a31a808ebb6c371293a0801 (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
# Copyright 1999-2002 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.0.ebuild,v 1.9 2002/12/09 04:41:49 manson Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Korean Baekmuk Font"
SRC_URI="ftp://ftp.nnongae.com/pub/gentoo/${P}.tar.gz"
HOMEPAGE="ftp://ftp.nnongae.com/pub/gentoo"
DEPEND="virtual/x11"

SLOT="0"
LICENSE="BAEKMUK"
KEYWORDS="x86 sparc "

src_install () {
	dodir /usr/X11R6/lib/X11/fonts/baekmuk
	dodir /usr/X11R6/lib/X11/fonts/baekmuk-ttf
	
	mv ${S}/{*.pcf.gz,fonts.dir,fonts.alias} \
		${D}/usr/X11R6/lib/X11/fonts/baekmuk/
	mv ${S}/ttf/* ${D}/usr/X11R6/lib/X11/fonts/baekmuk-ttf/
	
	dodoc COPYRIGHT COPYRIGHT.ks hconfig.ps
}

pkg_postinst() {
	einfo "You must add the path of Baekmuk fonts in the /etc/X11/XF86Config:"
	einfo ""
	einfo "\tSection \"Files\""
	einfo "\t\tFontPath \"/usr/X11R6/lib/X11/fonts/baekmuk/\""
	einfo ""
	einfo "You should restart your X server after that."
}