pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/tex-hugelatex Adjust the path to texmf.cnf, whic...
details: https://anonhg.NetBSD.org/pkgsrc/rev/68787f011093
branches: trunk
changeset: 552774:68787f011093
user: minskim <minskim%pkgsrc.org@localhost>
date: Thu Jan 08 22:13:23 2009 +0000
description:
Adjust the path to texmf.cnf, which is now under PKG_SYSCONFDIR.
Bump PKGREVISION.
diffstat:
print/tex-hugelatex/DEINSTALL | 8 ++++----
print/tex-hugelatex/INSTALL | 6 +++---
print/tex-hugelatex/Makefile | 6 ++++--
3 files changed, 11 insertions(+), 9 deletions(-)
diffs (69 lines):
diff -r ce3588968709 -r 68787f011093 print/tex-hugelatex/DEINSTALL
--- a/print/tex-hugelatex/DEINSTALL Thu Jan 08 22:10:43 2009 +0000
+++ b/print/tex-hugelatex/DEINSTALL Thu Jan 08 22:13:23 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: DEINSTALL,v 1.1 2006/10/12 13:38:35 joerg Exp $
+# $NetBSD: DEINSTALL,v 1.2 2009/01/08 22:13:23 minskim Exp $
-TEXMF_CNF=@PKG_TEXMFPREFIX@/web2c/texmf.cnf
+TEXMF_CNF=@PKG_SYSCONFDIR@/texmf.cnf
case ${STAGE} in
DEINSTALL)
@@ -10,7 +10,7 @@
{ if (do_print) print $0; } \
/^%%% END hugelatex$/ { do_print=1; }' ${TEXMF_CNF} > ${TEXMF_CNF}.tmp &&
${MV} ${TEXMF_CNF}.tmp ${TEXMF_CNF}
- ${RM} @PKG_TEXMFPREFIX@/web2c/hugelatex.fmt
- ${RM} @PKG_TEXMFPREFIX@/web2c/hugelatex.log
+ ${RM} @VARBASE@/lib/texmf/web2c/hugelatex.fmt
+ ${RM} @VARBASE@/lib/texmf/web2c/hugelatex.log
;;
esac
diff -r ce3588968709 -r 68787f011093 print/tex-hugelatex/INSTALL
--- a/print/tex-hugelatex/INSTALL Thu Jan 08 22:10:43 2009 +0000
+++ b/print/tex-hugelatex/INSTALL Thu Jan 08 22:13:23 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: INSTALL,v 1.2 2007/10/09 19:19:15 martti Exp $
+# $NetBSD: INSTALL,v 1.3 2009/01/08 22:13:23 minskim Exp $
case ${STAGE} in
POST-INSTALL)
- ${CAT} >> @PKG_TEXMFPREFIX@/web2c/texmf.cnf <<EOF
+ ${CAT} >> @PKG_SYSCONFDIR@/texmf.cnf <<EOF
%%% BEGIN hugelatex
% added by hugelatex package
main_memory.hugelatex = 1100000
@@ -18,7 +18,7 @@
font_mem_size.hugelatex= 400000
%%% END hugelatex
EOF
- cd @PKG_TEXMFPREFIX@/web2c
+ cd @VARBASE@/lib/texmf/web2c
${MV} latex.fmt latex.fmt.BAK || ${TRUE}
${ECHO} "" | ${PREFIX}/bin/latex -ini -fmt=hugelatex -progname=hugelatex latex.ini || ${TRUE}
${MV} latex.fmt hugelatex.fmt
diff -r ce3588968709 -r 68787f011093 print/tex-hugelatex/Makefile
--- a/print/tex-hugelatex/Makefile Thu Jan 08 22:10:43 2009 +0000
+++ b/print/tex-hugelatex/Makefile Thu Jan 08 22:13:23 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.20 2006/10/12 13:38:35 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2009/01/08 22:13:23 minskim Exp $
#
DISTNAME= hugelatex-2.0
PKGNAME= tex-${DISTNAME}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= print
MASTER_SITES= # none
DISTFILES= # nada
@@ -16,6 +16,8 @@
NO_CHECKSUM= yes
NO_BUILD= yes
+PKG_SYSCONFSUBDIR= texmf
+
FILES_SUBST+= PKG_TEXMFPREFIX=${PKG_TEXMFPREFIX:Q}
CHECK_FILES_SKIP+= ${PKG_TEXMFPREFIX}/web2c/hugelatex.fmt
Home |
Main Index |
Thread Index |
Old Index