2001-09-08 01:06:06 +00:00
|
|
|
# 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
|
2011-05-02 12:44:53 +00:00
|
|
|
PORTREVISION= 5
|
2001-09-08 01:06:06 +00:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= # none
|
|
|
|
DISTFILES= # none
|
|
|
|
|
2005-09-19 15:27:13 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-11-04 00:55:50 +00:00
|
|
|
COMMENT= LaTeX format files with large limits
|
2001-09-08 01:06:06 +00:00
|
|
|
|
|
|
|
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}`; \
|
2002-01-29 11:48:57 +00:00
|
|
|
${ECHO_CMD} "" | ${PREFIX}/bin/latex -ini -fmt=hugelatex -progname=hugelatex latex.ini || ${TRUE}; \
|
2001-09-08 01:06:06 +00:00
|
|
|
${RM} -f texsys.aux
|
|
|
|
${RM} -f ${PREFIX}/bin/hugelatex
|
|
|
|
${LN} -s latex ${PREFIX}/bin/hugelatex
|
|
|
|
${PREFIX}/bin/mktexlsr
|
|
|
|
|
2005-11-04 00:55:50 +00:00
|
|
|
post-install:
|
|
|
|
${RM} ${PREFIX}/share/texmf/web2c/latex.log
|
|
|
|
${RM} ${PREFIX}/share/texmf/web2c/latex.fmt
|
|
|
|
|
2001-09-08 01:06:06 +00:00
|
|
|
.include <bsd.port.mk>
|