summaryrefslogtreecommitdiffstats
path: root/print/hugelatex/Makefile
blob: 3f5dbaa7bca1b1eb4b908bde2dee18f45a6f7c48 (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
36
# New ports collection makefile for:    hugelatex
# Date created:         7 September 2001
# Whom:                 Murray Stokely <murray@FreeBSD.org>
#
# $FreeBSD$
#
# $NetBSD: Makefile,v 1.3 2001/09/02 19:51:38 hubertf Exp $
#

PORTNAME=		hugelatex
PORTVERSION=		1.0
CATEGORIES=		print
MASTER_SITES=		# none
DISTFILES=		# none

MAINTAINER=		murray@FreeBSD.org
COMMENT=	LaTeX format files with large limits

BUILD_DEPENDS=		tex:${PORTSDIR}/print/teTeX

NO_BUILD=		yes
NO_WRKSUBDIR=		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}`; \
	${ECHO_CMD} "" | ${PREFIX}/bin/latex -ini -fmt=hugelatex -progname=hugelatex latex.ini || ${TRUE}; \
	${RM} -f texsys.aux
	${RM} -f ${PREFIX}/bin/hugelatex
	${LN} -s latex ${PREFIX}/bin/hugelatex
	${PREFIX}/bin/mktexlsr

.include <bsd.port.mk>
OpenPOWER on IntegriCloud