summaryrefslogtreecommitdiff
path: root/print/tex-hugelatex
diff options
context:
space:
mode:
authorminskim <minskim>2009-01-08 22:13:23 +0000
committerminskim <minskim>2009-01-08 22:13:23 +0000
commita654e4290d927eae1c329e4f952176d1fbc09bde (patch)
tree54bd8b89d33f2dc55e1474b9de057820fdd321d2 /print/tex-hugelatex
parentc649ef933dd0483e371bbca772f94dd7183fdc83 (diff)
downloadpkgsrc-a654e4290d927eae1c329e4f952176d1fbc09bde.tar.gz
Adjust the path to texmf.cnf, which is now under PKG_SYSCONFDIR.
Bump PKGREVISION.
Diffstat (limited to 'print/tex-hugelatex')
-rw-r--r--print/tex-hugelatex/DEINSTALL8
-rw-r--r--print/tex-hugelatex/INSTALL6
-rw-r--r--print/tex-hugelatex/Makefile6
3 files changed, 11 insertions, 9 deletions
diff --git a/print/tex-hugelatex/DEINSTALL b/print/tex-hugelatex/DEINSTALL
index bde3b0d3f5d..0588dbe5896 100644
--- a/print/tex-hugelatex/DEINSTALL
+++ b/print/tex-hugelatex/DEINSTALL
@@ -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 @@ BEGIN { do_print=1; } \
{ 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 --git a/print/tex-hugelatex/INSTALL b/print/tex-hugelatex/INSTALL
index 1dbebcc291d..007cfdafa7d 100644
--- a/print/tex-hugelatex/INSTALL
+++ b/print/tex-hugelatex/INSTALL
@@ -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 @@ max_strings.hugelatex = 55000
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 --git a/print/tex-hugelatex/Makefile b/print/tex-hugelatex/Makefile
index 451ea11c4da..0b49fe83ee2 100644
--- a/print/tex-hugelatex/Makefile
+++ b/print/tex-hugelatex/Makefile
@@ -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 @@ EXTRACT_ONLY= # nothing
NO_CHECKSUM= yes
NO_BUILD= yes
+PKG_SYSCONFSUBDIR= texmf
+
FILES_SUBST+= PKG_TEXMFPREFIX=${PKG_TEXMFPREFIX:Q}
CHECK_FILES_SKIP+= ${PKG_TEXMFPREFIX}/web2c/hugelatex.fmt