e335c8910c
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
28 lines
895 B
Makefile
28 lines
895 B
Makefile
# $NetBSD: map.mk,v 1.3 2015/11/25 12:53:09 jperkin 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
|
|
|
|
FILES_SUBST+= UPDMAP_SYS=${LOCALBASE}/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
|