summaryrefslogtreecommitdiff
blob: 26dc6858f9ce488e7ae7f181e751cf037a3e1d12 (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

TEXLIVE_MODULE_CONTENTS="arphic arphic-ttf asymptote-by-example-zh-cn asymptote-faq-zh-cn asymptote-manual-zh-cn cns ctex ctex-faq fandol fduthesis hyphen-chinese impatient-cn latex-notes-zh-cn lshort-chinese nanicolle njurepo pgfornament-han texlive-zh-cn texproposal xtuthesis upzhkinsoku xpinyin zhlineskip zhlipsum zhmetrics zhmetrics-uptex zhnumber zhspacing collection-langchinese
"
TEXLIVE_MODULE_DOC_CONTENTS="arphic.doc arphic-ttf.doc asymptote-by-example-zh-cn.doc asymptote-faq-zh-cn.doc asymptote-manual-zh-cn.doc cns.doc ctex.doc ctex-faq.doc fandol.doc fduthesis.doc impatient-cn.doc latex-notes-zh-cn.doc lshort-chinese.doc nanicolle.doc njurepo.doc pgfornament-han.doc texlive-zh-cn.doc texproposal.doc xtuthesis.doc upzhkinsoku.doc xpinyin.doc zhlineskip.doc zhlipsum.doc zhmetrics.doc zhmetrics-uptex.doc zhnumber.doc zhspacing.doc "
TEXLIVE_MODULE_SRC_CONTENTS="ctex.source fduthesis.source njurepo.source xpinyin.source zhlipsum.source zhmetrics.source zhnumber.source "
inherit  texlive-module
DESCRIPTION="TeXLive Chinese"

LICENSE=" FDL-1.1 GPL-1 GPL-2 LGPL-2 LPPL-1.3 LPPL-1.3c public-domain TeX TeX-other-free "
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=dev-texlive/texlive-langcjk-2019
!<dev-texlive/texlive-langcjk-2014
!<dev-texlive/texlive-basic-2016
"
RDEPEND="${DEPEND} "
# Avoids collision with app-text/ttf2pk2
src_prepare() {
	default
	local i=texmf-dist/source/fonts/zhmetrics/ttfonts.map
	[ -f "${i}" ] && rm -f "${i}"
}