summaryrefslogtreecommitdiff
path: root/print/texlive-tetex/hyphen.mk
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-03-06 18:12:59 +0000
committerminskim <minskim@pkgsrc.org>2009-03-06 18:12:59 +0000
commit90869a4a8ce2a20a0c658bcdaff3be9c86a383d7 (patch)
tree592e0a71c90e19240c94967cbc6565714a80570a /print/texlive-tetex/hyphen.mk
parent10c08e4f0e1e5aeb1c9430b594695b1a807b0356 (diff)
downloadpkgsrc-90869a4a8ce2a20a0c658bcdaff3be9c86a383d7.tar.gz
Add a Makefile fragment and templates to install/deinstall hyphenation
patterns.
Diffstat (limited to 'print/texlive-tetex/hyphen.mk')
-rw-r--r--print/texlive-tetex/hyphen.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/print/texlive-tetex/hyphen.mk b/print/texlive-tetex/hyphen.mk
new file mode 100644
index 00000000000..83ec7cba87d
--- /dev/null
+++ b/print/texlive-tetex/hyphen.mk
@@ -0,0 +1,26 @@
+# $NetBSD: hyphen.mk,v 1.1 2009/03/06 18:12:59 minskim Exp $
+#
+# This Makefile fragment is intended to be included by packages that
+# install TeX hyphenation pattens. It updates format files at
+# (de)installation time.
+#
+# The following variable can be defined:
+#
+# TEX_HYPHEN_DAT - A list of hyphenation entries for language.dat.
+# TEX_HYPHEN_DEF - A list of hyphenation entries for language.def.
+#
+
+.if !defined(TEX_HYPHEN_MK)
+TEX_HYPHEN_MK= # defined
+
+DEPENDS+= texlive-tetex>=2008:../../print/texlive-tetex
+DEPENDS+= tex-hyphen-base-[0-9]*:../../print/tex-hyphen-base
+
+EVAL_PREFIX+= TETEX_PREFIX=texlive-tetex
+FILES_SUBST+= FMTUTIL_SYS=${TETEX_PREFIX:Q}/bin/fmtutil-sys
+FILES_SUBST+= HYPHEN_DAT=${TEX_HYPHEN_DAT:Q}
+FILES_SUBST+= HYPHEN_DEF=${TEX_HYPHEN_DEF:Q}
+INSTALL_TEMPLATES+= ../../print/texlive-tetex/files/hyphen-install.tmpl
+DEINSTALL_TEMPLATES+= ../../print/texlive-tetex/files/hyphen-deinstall.tmpl
+
+.endif # TEX_HYPHEN_MK