texlive-langchinese-2016.ebuild 1.4 KB

123456789101112131415161718192021222324252627
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="5"
  4. 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
  5. "
  6. 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 "
  7. TEXLIVE_MODULE_SRC_CONTENTS="ctex.source xpinyin.source zhmetrics.source zhnumber.source "
  8. inherit texlive-module
  9. DESCRIPTION="TeXLive Chinese"
  10. LICENSE=" FDL-1.1 GPL-1 GPL-2 LGPL-2 LPPL-1.3 TeX-other-free "
  11. SLOT="0"
  12. KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
  13. IUSE=""
  14. DEPEND=">=dev-texlive/texlive-langcjk-2016
  15. !<dev-texlive/texlive-langcjk-2014
  16. !<dev-texlive/texlive-basic-2016
  17. "
  18. RDEPEND="${DEPEND} "
  19. # Avoids collision with app-text/ttf2pk2
  20. src_prepare() {
  21. local i=texmf-dist/source/fonts/zhmetrics/ttfonts.map
  22. [ -f "${i}" ] && rm -f "${i}"
  23. }