diff options
author | minskim <minskim> | 2009-01-11 09:11:07 +0000 |
---|---|---|
committer | minskim <minskim> | 2009-01-11 09:11:07 +0000 |
commit | 5e49f1a81c7d8ff8534f14d9e428228a7f5230e2 (patch) | |
tree | 1f61a600526f53f4a6849658bd31435d6b91884b /print/kpathsea/texmf.mk | |
parent | 641a9efe2057e7a3a224084507e4583690c412e6 (diff) | |
download | pkgsrc-5e49f1a81c7d8ff8534f14d9e428228a7f5230e2.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 |