2010-01-16 04:52:40 +01:00
|
|
|
# $NetBSD: map.mk,v 1.9 2010/01/16 03:52:41 minskim Exp $
|
2005-11-20 19:51:53 +01:00
|
|
|
# This Makefile fragment is intended to be included by packages that
|
|
|
|
# install font maps used by dvipdfmx. It takes care of adding and
|
|
|
|
# removing font map entires in dvipdfmx.cfg.
|
|
|
|
#
|
|
|
|
# The following variable can be defined:
|
|
|
|
#
|
|
|
|
# DVIPDFMX_FONTMAPS - A list of font map files to be included in
|
|
|
|
# dvipdfmx.cnf.
|
|
|
|
#
|
|
|
|
|
|
|
|
.if !defined(DVIPDFMX_MAP_MK)
|
|
|
|
DVIPDFMX_MAP_MK= # defined
|
|
|
|
|
|
|
|
DVIPDFMX_FONTMAPS?= # empty
|
|
|
|
|
2010-01-16 04:52:40 +01:00
|
|
|
.if empty(PKGNAME:Mdvipdfmx-[0-9]*)
|
2007-06-07 00:16:33 +02:00
|
|
|
DEPENDS+= dvipdfmx>=0.0.0.20070518:../../print/dvipdfmx
|
2005-11-20 19:51:53 +01:00
|
|
|
.endif
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
FILES_SUBST+= DVIPDFMX_FONTMAPS=${DVIPDFMX_FONTMAPS:Q}
|
2010-01-16 04:52:40 +01:00
|
|
|
FILES_SUBST+= DVIPDFMX_CONFIG_DIR="${LOCALBASE}/share/texmf/dvipdfmx"
|
2006-06-16 00:13:58 +02:00
|
|
|
INSTALL_TEMPLATES+= ../../print/dvipdfmx/files/map.tmpl
|
|
|
|
DEINSTALL_TEMPLATES+= ../../print/dvipdfmx/files/map.tmpl
|
2005-11-20 19:51:53 +01:00
|
|
|
|
|
|
|
.endif # DVIPDFMX_MAP_MK
|