pkgsrc/print/tex-hugelatex/Makefile

37 lines
947 B
Makefile
Raw Normal View History

2004-05-08 02:41:24 +02:00
# $NetBSD: Makefile,v 1.10 2004/05/08 00:41:24 hubertf Exp $
2001-10-04 20:43:54 +02:00
#
2004-05-08 02:41:24 +02:00
DISTNAME= hugelatex-2.0
2001-10-21 23:58:04 +02:00
PKGNAME= tex-${DISTNAME}
2001-10-04 20:43:54 +02:00
CATEGORIES= print
MASTER_SITES= # none
DISTFILES= # nada
2003-07-18 00:50:55 +02:00
MAINTAINER= hubertf@NetBSD.org
2001-10-04 20:43:54 +02:00
COMMENT= LaTeX format files with large limits
2004-05-08 02:41:24 +02:00
DEPENDS+= teTeX-2.*:../../print/teTeX1
2001-10-04 20:43:54 +02:00
WRKSRC= ${WRKDIR}
2001-10-04 20:43:54 +02:00
EXTRACT_ONLY= # nothing
NO_CHECKSUM= yes
NO_BUILD= yes
TEXMF_CNF= ${LOCALBASE}/share/texmf/web2c/texmf.cnf
do-install:
${CP} -p ${TEXMF_CNF} ${TEXMF_CNF}-before-hugelatex
${CAT} ${FILESDIR}/texmf.cnf-add >>${TEXMF_CNF}
cd `dirname ${TEXMF_CNF}`; \
2004-05-08 02:41:24 +02:00
${MV} latex.fmt latex.fmt.BAK ; \
2001-10-04 20:43:54 +02:00
echo "" | ${PREFIX}/bin/latex -ini -fmt=hugelatex -progname=hugelatex latex.ini || ${TRUE}; \
2004-05-08 02:41:24 +02:00
${MV} latex.fmt hugelatex.fmt ; \
${MV} latex.log hugelatex.log ; \
${MV} latex.fmt.BAK latex.fmt ; \
2001-10-04 20:43:54 +02:00
${RM} -f texsys.aux
${RM} -f ${PREFIX}/bin/hugelatex
${LN} -s latex ${PREFIX}/bin/hugelatex
${PREFIX}/bin/mktexlsr
.include "../../mk/bsd.pkg.mk"