diff options
Diffstat (limited to 'print/tex-tetex/map.mk')
-rw-r--r-- | print/tex-tetex/map.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/print/tex-tetex/map.mk b/print/tex-tetex/map.mk new file mode 100644 index 00000000000..05e4f395b4d --- /dev/null +++ b/print/tex-tetex/map.mk @@ -0,0 +1,26 @@ +# $NetBSD: map.mk,v 1.1 2011/11/06 08:43:28 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. +# + +.if !defined(TEX_MAP_MK) +TEX_MAP_MK= # defined + +DEPENDS+= tex-tetex>=3.0.24482:../../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} +INSTALL_TEMPLATES+= ../../print/tex-tetex/files/map-install.tmpl +DEINSTALL_TEMPLATES+= ../../print/tex-tetex/files/map-deinstall.tmpl + +.endif # TEX_MAP_MK |