summaryrefslogtreecommitdiff
path: root/print/dvipdfmx/map.mk
diff options
context:
space:
mode:
authorminskim <minskim>2005-11-20 18:51:53 +0000
committerminskim <minskim>2005-11-20 18:51:53 +0000
commit0d8e058a567bf042cd6e9a05bd78e24ff0dbc355 (patch)
tree6d0f3fc7456b122a44bd17169e7a369191cf7be7 /print/dvipdfmx/map.mk
parentab1e24e8cbdd90f4d732e50b0b57bc23c2ba82c2 (diff)
downloadpkgsrc-0d8e058a567bf042cd6e9a05bd78e24ff0dbc355.tar.gz
Update dvipdfmx to 20050627.
Major changes since 20031116: - bug fixes in subfont scheme or TrueType fonts with CIDType2 format. - embedded ICC profile support for JPEG and PNG. - Accept "unicode" encoding keyword in fontmap files for TrueType and Type1 fonts.
Diffstat (limited to 'print/dvipdfmx/map.mk')
-rw-r--r--print/dvipdfmx/map.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/print/dvipdfmx/map.mk b/print/dvipdfmx/map.mk
new file mode 100644
index 00000000000..849f96a681c
--- /dev/null
+++ b/print/dvipdfmx/map.mk
@@ -0,0 +1,30 @@
+# $NetBSD: map.mk,v 1.1 2005/11/20 18:51:54 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(DISTNAME:Mdvipdfmx-[0-9]*)
+DEPENDS+= dvipdfmx>=0.0.0.20050627:../../wip-kr/dvipdfmx
+.endif
+
+USE_PKGINSTALL= yes
+FILES_SUBST+= DVIPDFMX_FONTMAPS="${DVIPDFMX_FONTMAPS}"
+FILES_SUBST+= DVIPDFMX_CONFIG_DIR="${PKG_LOCALTEXMFPREFIX}/dvipdfm/config"
+INSTALL_EXTRA_TMPL+= ../../wip-kr/dvipdfmx/files/map.tmpl
+DEINSTALL_EXTRA_TMPL+= ../../wip-kr/dvipdfmx/files/map.tmpl
+
+PRINT_PLIST_AWK+= /^${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}\/dvidpfm\/config\/dvipdfmx.cfg$$/ \
+ { next; }
+
+.endif # DVIPDFMX_MAP_MK