pkgsrc/print/dvipdfmx/map.mk
minskim d676e9b0e7 Update dvipdfmx to 20090708.
Major changes:
    - Add -E option that enables DVIPDFM emulation mode in DVIPDFMx.
    - Don't try to convert included PDF files whose version number
      is higher than output file version. (If run as dvipdfm,
      conversion still occurs.)
    - Added dvipdfm compatibility mode. This mode is triggered
      if dvipdfmx is called as "dvipdfm", and likewise extractbb
      as "ebb". (The latter mode was already present.)
    - Made predefined paper sizes match values given by libpaper.
2010-01-16 03:52:40 +00:00

26 lines
829 B
Makefile

# $NetBSD: map.mk,v 1.9 2010/01/16 03:52:41 minskim Exp $
# 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
.if empty(PKGNAME:Mdvipdfmx-[0-9]*)
DEPENDS+= dvipdfmx>=0.0.0.20070518:../../print/dvipdfmx
.endif
FILES_SUBST+= DVIPDFMX_FONTMAPS=${DVIPDFMX_FONTMAPS:Q}
FILES_SUBST+= DVIPDFMX_CONFIG_DIR="${LOCALBASE}/share/texmf/dvipdfmx"
INSTALL_TEMPLATES+= ../../print/dvipdfmx/files/map.tmpl
DEINSTALL_TEMPLATES+= ../../print/dvipdfmx/files/map.tmpl
.endif # DVIPDFMX_MAP_MK