summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorhubertf <hubertf>2004-05-08 00:41:24 +0000
committerhubertf <hubertf>2004-05-08 00:41:24 +0000
commit5431250fbeb8d2a6fee039c9fe7fd6cd4fc3aadf (patch)
treef43c82d222aef23801aa87fc698ad1929aa5d05e /print
parenta63dd895544bd3853ac62f213ca13d570c211bdf (diff)
downloadpkgsrc-5431250fbeb8d2a6fee039c9fe7fd6cd4fc3aadf.tar.gz
make this work with teTeX-2.*
Diffstat (limited to 'print')
-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