2013-11-15 07:08:51 +01:00
|
|
|
# $NetBSD: hyphen.mk,v 1.1 2013/11/15 06:08:51 minskim Exp $
|
2009-03-06 19:12:59 +01:00
|
|
|
#
|
|
|
|
# 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.
|
2010-11-07 18:22:24 +01:00
|
|
|
# TEX_HYPHEN_LUA - A list of hyphenation entries for language.dat.lua.
|
2009-03-06 19:12:59 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
.if !defined(TEX_HYPHEN_MK)
|
|
|
|
TEX_HYPHEN_MK= # defined
|
|
|
|
|
2010-11-08 01:25:51 +01:00
|
|
|
DEPENDS+= tex-hyphen-base>=2010nb1:../../print/tex-hyphen-base
|
2013-11-15 07:08:51 +01:00
|
|
|
DEPENDS+= tex-tetex>=3.0.27774nb1:../../print/tex-tetex
|
2009-03-06 19:12:59 +01:00
|
|
|
|
2013-11-15 07:08:51 +01:00
|
|
|
EVAL_PREFIX+= TETEX_PREFIX=tex-tetex
|
2009-03-06 19:12:59 +01:00
|
|
|
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}
|
2010-11-07 18:22:24 +01:00
|
|
|
FILES_SUBST+= HYPHEN_LUA=${TEX_HYPHEN_LUA:Q}
|
2013-11-15 07:08:51 +01:00
|
|
|
INSTALL_TEMPLATES+= ../../print/tex-tetex/files/hyphen-install.tmpl
|
|
|
|
DEINSTALL_TEMPLATES+= ../../print/tex-tetex/files/hyphen-deinstall.tmpl
|
2009-03-06 19:12:59 +01:00
|
|
|
|
|
|
|
.endif # TEX_HYPHEN_MK
|