diff options
author | minskim <minskim@pkgsrc.org> | 2009-01-11 09:11:07 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2009-01-11 09:11:07 +0000 |
commit | 4699108686c0972562f619d49f4dea180f06fa15 (patch) | |
tree | 1f61a600526f53f4a6849658bd31435d6b91884b /print/kpathsea/texmf.mk | |
parent | 02c38f606c93bd4f5bd18a263ec9a1a5275b81ca (diff) | |
download | pkgsrc-4699108686c0972562f619d49f4dea180f06fa15.tar.gz |
Let texmf.mk take care of updating texmf.cnf.
Packages modifying texmf.cnf (e.g., tex-hugelatex and tex-jadetex) can
use this instead of inventing their own way.
Diffstat (limited to 'print/kpathsea/texmf.mk')
-rw-r--r-- | print/kpathsea/texmf.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/print/kpathsea/texmf.mk b/print/kpathsea/texmf.mk index e5f843dd7f7..9de5431eec3 100644 --- a/print/kpathsea/texmf.mk +++ b/print/kpathsea/texmf.mk @@ -1,4 +1,4 @@ -# $NetBSD: texmf.mk,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $ +# $NetBSD: texmf.mk,v 1.2 2009/01/11 09:11:07 minskim Exp $ # # This Makefile fragment is intended to be included by packages that # install TeX packages. It rebuilds the ls-R databases at @@ -9,6 +9,8 @@ # TEX_TEXMF_DIRS - A list of texmf directories that need to update ls-R. # Default: ${PREFIX}/share/texmf-dist # +# TEX_CONFIG_NAMES - A list of config fragments to add to texmf.cnf. +# .if !defined(TEX_TEXMF_MK) TEX_TEXMF_MK= # defined @@ -22,4 +24,10 @@ FILES_SUBST+= TEXMF_DIRS=${TEX_TEXMF_DIRS:Q} INSTALL_TEMPLATES+= ../../print/kpathsea/files/texmf-install.tmpl DEINSTALL_TEMPLATES+= ../../print/kpathsea/files/texmf-deinstall.tmpl +. if !empty(TEX_CONFIG_NAMES) +FILES_SUBST+= CONFIG_NAMES=${TEX_CONFIG_NAMES:Q} +INSTALL_TEMPLATES+= ../../print/kpathsea/files/config-install.tmpl +DEINSTALL_TEMPLATES+= ../../print/kpathsea/files/config-deinstall.tmpl +. endif + .endif # TEX_TEXMF_MK |