summaryrefslogtreecommitdiff
path: root/print/texlive-tetex/hyphen.mk
blob: 83ec7cba87d00d213168fa0d7e45097f038f006f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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