summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2005-04-02 20:19:02 +0000
committerhubertf <hubertf@pkgsrc.org>2005-04-02 20:19:02 +0000
commit051d689eb6f17af836480beb3c0a6da1de078fad (patch)
tree706adb1f7ddf87bff286a42bc4f95d4abf443c14 /print
parent2c7d1ff1760a82fbc534319fa820421775de89cf (diff)
downloadpkgsrc-051d689eb6f17af836480beb3c0a6da1de078fad.tar.gz
This pkg works fine with teTeX>=2, note it in the depends.
Also be more graceful about in fmt-handling
Diffstat (limited to 'print')
-rw-r--r--print/tex-hugelatex/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/print/tex-hugelatex/Makefile b/print/tex-hugelatex/Makefile
index 6704963c638..0317b3053ba 100644
--- a/print/tex-hugelatex/Makefile
+++ b/print/tex-hugelatex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2004/08/23 10:34:14 darcy Exp $
+# $NetBSD: Makefile,v 1.12 2005/04/02 20:19:02 hubertf Exp $
#
DISTNAME= hugelatex-2.0
@@ -10,7 +10,7 @@ DISTFILES= # nada
MAINTAINER= hubertf@NetBSD.org
COMMENT= LaTeX format files with large limits
-DEPENDS+= teTeX-2.*:../../print/teTeX
+DEPENDS+= teTeX>=2:../../print/teTeX
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # nothing
@@ -23,11 +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 ; \
+ ${MV} latex.fmt latex.fmt.BAK || ${TRUE} ; \
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 ; \
+ ${MV} latex.fmt.BAK latex.fmt || ${TRUE} ; \
${RM} -f texsys.aux
${RM} -f ${PREFIX}/bin/hugelatex
${LN} -s latex ${PREFIX}/bin/hugelatex