summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"