summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-06-08 12:55:23 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-06-08 16:19:10 +0200
commitde2bb5a2c381becd5d05a32c4cdf1b41dd529601 (patch)
tree506430c27990228ae539cec1e1428298d0bfbb24 /dev-texlive/texlive-langchinese/texlive-langchinese-2017.ebuild
parentdev-texlive/texlive-langarabic: bump to texlive 2017 (diff)
downloadgentoo-de2bb5a2c381becd5d05a32c4cdf1b41dd529601.tar.gz
gentoo-de2bb5a2c381becd5d05a32c4cdf1b41dd529601.tar.bz2
gentoo-de2bb5a2c381becd5d05a32c4cdf1b41dd529601.zip
dev-texlive/texlive-langchinese: bump to texlive 2017
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-texlive/texlive-langchinese/texlive-langchinese-2017.ebuild')
-rw-r--r--dev-texlive/texlive-langchinese/texlive-langchinese-2017.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-texlive/texlive-langchinese/texlive-langchinese-2017.ebuild b/dev-texlive/texlive-langchinese/texlive-langchinese-2017.ebuild
new file mode 100644
index 000000000000..a9e749ba8540
--- /dev/null
+++ b/dev-texlive/texlive-langchinese/texlive-langchinese-2017.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+TEXLIVE_MODULE_CONTENTS="arphic arphic-ttf asymptote-by-example-zh-cn asymptote-faq-zh-cn asymptote-manual-zh-cn cns ctex ctex-faq fandol hyphen-chinese impatient-cn latex-notes-zh-cn lshort-chinese texlive-zh-cn texproposal xpinyin 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 impatient-cn.doc latex-notes-zh-cn.doc lshort-chinese.doc texlive-zh-cn.doc texproposal.doc xpinyin.doc zhmetrics.doc zhmetrics-uptex.doc zhnumber.doc zhspacing.doc "
+TEXLIVE_MODULE_SRC_CONTENTS="ctex.source xpinyin.source zhmetrics.source zhnumber.source "
+inherit texlive-module
+DESCRIPTION="TeXLive Chinese"
+
+LICENSE=" FDL-1.1 GPL-1 GPL-2 LGPL-2 LPPL-1.3 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-2017
+!<dev-texlive/texlive-langcjk-2014
+!<dev-texlive/texlive-basic-2016
+"
+RDEPEND="${DEPEND} "
+# Avoids collision with app-text/ttf2pk2
+src_prepare() {
+ local i=texmf-dist/source/fonts/zhmetrics/ttfonts.map
+ [ -f "${i}" ] && rm -f "${i}"
+}