1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/print/hugelatex/Makefile
Akinori MUSHA 897d06aa97 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
2002-01-29 11:48:57 +00:00

36 lines
886 B
Makefile

# 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
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>