36 lines
947 B
Makefile
36 lines
947 B
Makefile
# $NetBSD: Makefile,v 1.10 2004/05/08 00:41:24 hubertf Exp $
|
|
#
|
|
|
|
DISTNAME= hugelatex-2.0
|
|
PKGNAME= tex-${DISTNAME}
|
|
CATEGORIES= print
|
|
MASTER_SITES= # none
|
|
DISTFILES= # nada
|
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
|
COMMENT= LaTeX format files with large limits
|
|
|
|
DEPENDS+= teTeX-2.*:../../print/teTeX1
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
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}`; \
|
|
${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
|
|
${PREFIX}/bin/mktexlsr
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|