summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim>2005-11-10 14:53:44 +0000
committerminskim <minskim>2005-11-10 14:53:44 +0000
commitbb8162ac67822ff6d67a7ccf47eab86d3ab95880 (patch)
treed39456b4ac5783f3cf8e37775613fe73f29ccca4 /print
parent69ea30b12995d5f2b430f3e00e2f0a2dd9db2fd0 (diff)
downloadpkgsrc-bb8162ac67822ff6d67a7ccf47eab86d3ab95880.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')
-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"