summaryrefslogtreecommitdiff
path: root/print/teTeX3-bin
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-11-10 14:53:44 +0000
committerminskim <minskim@pkgsrc.org>2005-11-10 14:53:44 +0000
commita646fb3af44112682c3aebd2e4096c7c66a3a3b3 (patch)
treed39456b4ac5783f3cf8e37775613fe73f29ccca4 /print/teTeX3-bin
parent72aa168b195b3df3dca6f4ff11197e3c50c39988 (diff)
downloadpkgsrc-a646fb3af44112682c3aebd2e4096c7c66a3a3b3.tar.gz
Define TEXMFCONFIG when calling texconfig. This prevents texconfig
from generating a directory under users's HOME at installation time. OK'ed by hubertf@ and tonio@.
Diffstat (limited to 'print/teTeX3-bin')
-rw-r--r--print/teTeX3-bin/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/print/teTeX3-bin/Makefile b/print/teTeX3-bin/Makefile
index 4f008928a36..403f92217d0 100644
--- a/print/teTeX3-bin/Makefile
+++ b/print/teTeX3-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/11/09 22:23:05 minskim Exp $
+# $NetBSD: Makefile,v 1.10 2005/11/10 14:53:44 minskim Exp $
DISTNAME= tetex-src-3.0
PKGNAME= ${DISTNAME:C/tetex/teTeX/:C/src/bin/}
@@ -30,18 +30,21 @@ LOWER_PAPERSIZE_cmd= ${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'
LOWER_PAPERSIZE= ${LOWER_PAPERSIZE_cmd:sh}
.endif
+TEXCONFIG= ${SETENV} TEXMFCONFIG=${PREFIX}/share/texmf \
+ ${PREFIX}/bin/texconfig
+
post-install:
@${RM} -f ${PREFIX}/share/texmf/web2c/*.log
.if defined(PAPERSIZE)
- ${LOCALBASE}/bin/texconfig dvips paper ${LOWER_PAPERSIZE}
+ ${TEXCONFIG} dvips paper ${LOWER_PAPERSIZE}
. if ${PAPERSIZE} == "Letter"
- ${LOCALBASE}/bin/texconfig xdvi paper us
+ ${TEXCONFIG} xdvi paper us
. else
- ${LOCALBASE}/bin/texconfig xdvi paper ${LOWER_PAPERSIZE}
+ ${TEXCONFIG} xdvi paper ${LOWER_PAPERSIZE}
. endif
.endif
- ${LOCALBASE}/bin/texconfig font rw
- ${LOCALBASE}/bin/texconfig font vardir ${VARBASE}/spool/texfonts
+ ${TEXCONFIG} font rw
+ ${TEXCONFIG} font vardir ${VARBASE}/spool/texfonts
.include "../../print/teTeX3-bin/Makefile.common"
.include "../../graphics/xpm/buildlink3.mk"