1 # $NetBSD: hyphen.mk,v 1.2 2010/11/07 17:22:24 minskim Exp $
3 # This Makefile fragment is intended to be included by packages that
4 # install TeX hyphenation pattens. It updates format files at
5 # (de)installation time.
7 # The following variable can be defined:
9 # TEX_HYPHEN_DAT - A list of hyphenation entries for language.dat.
10 # TEX_HYPHEN_DEF - A list of hyphenation entries for language.def.
11 # TEX_HYPHEN_LUA - A list of hyphenation entries for language.dat.lua.
14 .if
!defined
(TEX_HYPHEN_MK
)
15 TEX_HYPHEN_MK
= # defined
17 DEPENDS
+= texlive-tetex
>=2010:..
/..
/print/texlive-tetex
18 DEPENDS
+= tex-hyphen-base
>=2010nb1
:..
/..
/print/tex-hyphen-base
20 EVAL_PREFIX
+= TETEX_PREFIX
=texlive-tetex
21 FILES_SUBST
+= FMTUTIL_SYS
=${TETEX_PREFIX
:Q
}/bin
/fmtutil-sys
22 FILES_SUBST
+= HYPHEN_DAT
=${TEX_HYPHEN_DAT
:Q
}
23 FILES_SUBST
+= HYPHEN_DEF
=${TEX_HYPHEN_DEF
:Q
}
24 FILES_SUBST
+= HYPHEN_LUA
=${TEX_HYPHEN_LUA
:Q
}
25 INSTALL_TEMPLATES
+= ..
/..
/print/texlive-tetex
/files
/hyphen-install.tmpl
26 DEINSTALL_TEMPLATES
+= ..
/..
/print/texlive-tetex
/files
/hyphen-deinstall.tmpl
28 .
endif # TEX_HYPHEN_MK