pkgsrc/print/tex-hyphen-chinese/Makefile

28 lines
817 B
Makefile

# $NetBSD: Makefile,v 1.14 2020/05/10 04:31:59 markd Exp $
DISTNAME= hyphen-chinese
PKGNAME= tex-${DISTNAME}-2019.51186
PKGREVISION= 2
TEXLIVE_REV= 51186
MAINTAINER= minskim@NetBSD.org
COMMENT= Hyphenation patterns for Chinese
LICENSE= lppl-1.3c
DEPENDS+= tex-hyphen-base-[0-9]*:../../print/tex-hyphen-base
DEPENDS+= tex-hyph-utf8-[0-9]*:../../print/tex-hyph-utf8
TEX_HYPHEN_DAT+= pinyin loadhyph-zh-latn-pinyin.tex
TEX_HYPHEN_DEF+= \\addlanguage{pinyin}{loadhyph-zh-latn-pinyin.tex}{}{1}{2}
TEX_HYPHEN_LUA+= ['pinyin']={ \
loader='loadhyph-zh-latn-pinyin.tex', \
lefthyphenmin=1, \
righthyphenmin=2, \
synonyms={}, \
patterns='hyph-zh-latn-pinyin.pat.txt', \
hyphenation='', \
},
TEXLIVE_UNVERSIONED= yes
.include "../../print/texlive/package.mk"
.include "../../mk/bsd.pkg.mk"