summaryrefslogtreecommitdiff
path: root/print/tex-hugelatex
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2004-05-08 00:41:24 +0000
committerhubertf <hubertf@pkgsrc.org>2004-05-08 00:41:24 +0000
commit4be7539391a02ce8484f1d1feec7da1ebd3689a5 (patch)
treef43c82d222aef23801aa87fc698ad1929aa5d05e /print/tex-hugelatex
parent55753a0be0a3602505b224248f366fd0110ebce9 (diff)
downloadpkgsrc-4be7539391a02ce8484f1d1feec7da1ebd3689a5.tar.gz
make this work with teTeX-2.*
Diffstat (limited to 'print/tex-hugelatex')
-rw-r--r--print/tex-hugelatex/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/print/tex-hugelatex/Makefile b/print/tex-hugelatex/Makefile
index b21fb33805a..319d024c2da 100644
--- a/print/tex-hugelatex/Makefile
+++ b/print/tex-hugelatex/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2004/03/26 02:27:51 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2004/05/08 00:41:24 hubertf Exp $
#
-DISTNAME= hugelatex-1.0
+DISTNAME= hugelatex-2.0
PKGNAME= tex-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= print
MASTER_SITES= # none
DISTFILES= # nada
@@ -11,7 +10,7 @@ DISTFILES= # nada
MAINTAINER= hubertf@NetBSD.org
COMMENT= LaTeX format files with large limits
-DEPENDS+= teTeX-1.0*:../../print/teTeX1
+DEPENDS+= teTeX-2.*:../../print/teTeX1
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # nothing
@@ -24,7 +23,11 @@ do-install:
${CP} -p ${TEXMF_CNF} ${TEXMF_CNF}-before-hugelatex
${CAT} ${FILESDIR}/texmf.cnf-add >>${TEXMF_CNF}
cd `dirname ${TEXMF_CNF}`; \
+ ${MV} latex.fmt latex.fmt.BAK ; \
echo "" | ${PREFIX}/bin/latex -ini -fmt=hugelatex -progname=hugelatex latex.ini || ${TRUE}; \
+ ${MV} latex.fmt hugelatex.fmt ; \
+ ${MV} latex.log hugelatex.log ; \
+ ${MV} latex.fmt.BAK latex.fmt ; \
${RM} -f texsys.aux
${RM} -f ${PREFIX}/bin/hugelatex
${LN} -s latex ${PREFIX}/bin/hugelatex