summaryrefslogtreecommitdiff
path: root/print/tex-tetex/map.mk
blob: 00ebb16deb657ed1a8dc5fac77275ba4472d3846 (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
27
28
29
# $NetBSD: map.mk,v 1.2 2012/03/04 01:01:43 minskim Exp $
#
# This Makefile fragment is intended to be included by packages that
# install font maps for TeX.  It updates font map entries in updmap.cfg
# at (de)installation time.
#
# The following variables can be defined:
#
#    TEX_MAP_FILES - A list of map files.
#
#    TEX_MIXEDMAP_FILES - A list of mixed map files.
#
#    TEX_KANJIMAP_FILES - A list of kanji map files.
#

.if !defined(TEX_MAP_MK)
TEX_MAP_MK=		# defined

DEPENDS+=		tex-tetex>=3.0.25424:../../print/tex-tetex

EVAL_PREFIX+=		TETEX_PREFIX=tex-tetex
FILES_SUBST+=		UPDMAP_SYS=${TETEX_PREFIX:Q}/bin/updmap-sys
FILES_SUBST+=		MAP_FILES=${TEX_MAP_FILES:Q}
FILES_SUBST+=		MIXEDMAP_FILES=${TEX_MIXEDMAP_FILES:Q}
FILES_SUBST+=		KANJIMAP_FILES=${TEX_KANJIMAP_FILES:Q}
INSTALL_TEMPLATES+=	../../print/tex-tetex/files/map-install.tmpl
DEINSTALL_TEMPLATES+=	../../print/tex-tetex/files/map-deinstall.tmpl

.endif	# TEX_MAP_MK