summaryrefslogtreecommitdiff
path: root/print/tex-hyphen-english/Makefile
diff options
context:
space:
mode:
authormarkd <markd>2015-04-30 07:26:19 +0000
committermarkd <markd>2015-04-30 07:26:19 +0000
commit4b701f8504deecf99138a849e7137fd050cff580 (patch)
tree912186d8af47b47d0a1607644d400352062d39b9 /print/tex-hyphen-english/Makefile
parentae8d60aa9890639c30ca0d0a2b8a852d464be863 (diff)
downloadpkgsrc-4b701f8504deecf99138a849e7137fd050cff580.tar.gz
Add tex-hyphen-english 2014
Additional hyphenation patterns for American and British English in ASCII encoding. The American English patterns (usenglishmax) greatly extend the standard patterns from Knuth to find many additional hyphenation points. British English hyphenation is completely different from US English, so has its own set of patterns.
Diffstat (limited to 'print/tex-hyphen-english/Makefile')
-rw-r--r--print/tex-hyphen-english/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/print/tex-hyphen-english/Makefile b/print/tex-hyphen-english/Makefile
new file mode 100644
index 00000000000..f6083156358
--- /dev/null
+++ b/print/tex-hyphen-english/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2015/04/30 07:26:19 markd Exp $
+
+DISTNAME= hyphen-english
+PKGNAME= tex-${DISTNAME}-2014
+TEXLIVE_REV= 25990
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= English hyphenation patterns
+
+CONFLICTS+= teTeX-texmf<=3.0nb12
+DEPENDS+= tex-hyph-utf8-[0-9]*:../../print/tex-hyph-utf8
+
+TEX_HYPHEN_DAT+= usenglishmax loadhyph-en-us.tex
+TEX_HYPHEN_DAT+= ukenglish loadhyph-en-gb.tex
+TEX_HYPHEN_DAT+= = british
+TEX_HYPHEN_DAT+= = UKenglish
+TEX_HYPHEN_DEF+= \addlanguage{usenglishmax}{loadhyph-en-us.tex}{}{2}{3}
+TEX_HYPHEN_DEF+= \addlanguage{ukenglish}{loadhyph-en-gb.tex}{}{2}{3}
+TEX_HYPHEN_DEF+= \addlanguage{british}{loadhyph-en-gb.tex}{}{2}{3}
+TEX_HYPHEN_DEF+= \addlanguage{UKenglish}{loadhyph-en-gb.tex}{}{2}{3}
+
+TEX_HYPHEN_LUA+= ['usenglishmax']={ \
+ loader='loadhyph-en-us.tex', \
+ lefthyphenmin=2, \
+ righthyphenmin=3, \
+ synonyms={}, \
+ patterns='hyph-en-us.pat.txt', \
+ hyphenation='hyph-en-us.hyp.txt', \
+ },
+TEX_HYPHEN_LUA+= ['ukenglish']={ \
+ loader='loadhyph-en-gb.tex', \
+ lefthyphenmin=2, \
+ righthyphenmin=3, \
+ synonyms={'british','UKenglish',}, \
+ patterns='hyph-en-gb.pat.txt', \
+ hyphenation='hyph-en-gb.hyp.txt', \
+ },
+
+.include "../../print/texlive/package.mk"
+.include "../../mk/bsd.pkg.mk"