blob: d4b4a053a93649e100b2dc9d74b394c1b6476d06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.13 2005/11/08 21:57:53 tonio 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
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # nothing
NO_CHECKSUM= yes
NO_BUILD= yes
TEXMF_CNF= ${PKG_TEXMFPREFIX}/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 || ${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 || ${TRUE} ; \
${RM} -f texsys.aux
${RM} -f ${PREFIX}/bin/hugelatex
${LN} -s latex ${PREFIX}/bin/hugelatex
${PREFIX}/bin/mktexlsr
.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|