blob: 85135433b392a877633f1dda8b472c862df8cc32 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/wqy-zenhei/wqy-zenhei-0.9.45.ebuild,v 1.2 2013/02/05 00:53:54 heroxbd Exp $
EAPI="3"
inherit font
DESCRIPTION="WenQuanYi Hei-Ti Style (sans-serif) Chinese outline font"
HOMEPAGE="http://wqy.sourceforge.net/cgi-bin/enindex.cgi?ZenHei(en)"
SRC_URI="mirror://sourceforge/wqy/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
FONT_S="${S}"
FONT_SUFFIX="ttc"
DOCS="AUTHORS ChangeLog README"
FONT_CONF=(
43-wqy-zenhei-sharp.conf
44-wqy-zenhei.conf
)
# Only installs fonts
RESTRICT="strip binchecks"
src_compile() {
:
}
pkg_postinst() {
unset FONT_CONF # override default message
font_pkg_postinst
elog
elog "This font installs two fontconfig configuration files."
elog
elog "To activate preferred rendering, run:"
elog "eselect fontconfig enable 44-wqy-zenhei.conf"
elog
elog "To make the font only use embedded bitmap fonts when available, run:"
elog "eselect fontconfig enable 43-wqy-zenhei-sharp.conf"
elog
}
|