pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/teTeX3-bin Define TEXMFCONFIG when calling texco...
details: https://anonhg.NetBSD.org/pkgsrc/rev/08db8c979cc7
branches: trunk
changeset: 502898:08db8c979cc7
user: minskim <minskim%pkgsrc.org@localhost>
date: Thu Nov 10 14:53:44 2005 +0000
description:
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:
print/teTeX3-bin/Makefile | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diffs (36 lines):
diff -r 690efa85133c -r 08db8c979cc7 print/teTeX3-bin/Makefile
--- a/print/teTeX3-bin/Makefile Thu Nov 10 14:30:56 2005 +0000
+++ b/print/teTeX3-bin/Makefile Thu Nov 10 14:53:44 2005 +0000
@@ -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= ${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"
Home |
Main Index |
Thread Index |
Old Index