diff options
author | minskim <minskim@pkgsrc.org> | 2010-01-29 04:10:14 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2010-01-29 04:10:14 +0000 |
commit | 0adb035b3db92ce734e1d33e544970f2f95d17cb (patch) | |
tree | 4420bad69ba07956e5144f6105c6284e8dd3d3a8 /print | |
parent | 06f948b33d94f307a3858d4df1b17a97d04ad72d (diff) | |
download | pkgsrc-0adb035b3db92ce734e1d33e544970f2f95d17cb.tar.gz |
Set INSTALL_TEMPLATES and DEINSTALL_TEMPLATES only when TEX_TEXMF_DIRS
is not empty.
Diffstat (limited to 'print')
-rw-r--r-- | print/kpathsea/texmf.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/print/kpathsea/texmf.mk b/print/kpathsea/texmf.mk index 9de5431eec3..a652b157a73 100644 --- a/print/kpathsea/texmf.mk +++ b/print/kpathsea/texmf.mk @@ -1,4 +1,4 @@ -# $NetBSD: texmf.mk,v 1.2 2009/01/11 09:11:07 minskim Exp $ +# $NetBSD: texmf.mk,v 1.3 2010/01/29 04:10:14 minskim Exp $ # # This Makefile fragment is intended to be included by packages that # install TeX packages. It rebuilds the ls-R databases at @@ -21,8 +21,10 @@ TEX_TEXMF_DIRS?= ${PREFIX}/share/texmf-dist EVAL_PREFIX+= KPATHSEA_PREFIX=kpathsea FILES_SUBST+= MKTEXLSR=${KPATHSEA_PREFIX:Q}/bin/mktexlsr FILES_SUBST+= TEXMF_DIRS=${TEX_TEXMF_DIRS:Q} +.if !empty(TEX_TEXMF_DIRS) INSTALL_TEMPLATES+= ../../print/kpathsea/files/texmf-install.tmpl DEINSTALL_TEMPLATES+= ../../print/kpathsea/files/texmf-deinstall.tmpl +.endif . if !empty(TEX_CONFIG_NAMES) FILES_SUBST+= CONFIG_NAMES=${TEX_CONFIG_NAMES:Q} |