Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2001 05:17:30 -0700 (PDT)
From:      Murray Stokely <murray@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30415: New Port : hugelatex-1.0
Message-ID:  <200109071217.f87CHUt50401@mao.stokely.org>

next in thread | raw e-mail | index | archive | help

>Number:         30415
>Category:       ports
>Synopsis:       New Port : hugelatex-1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 07 05:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Murray Stokely
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSD Project
>Environment:
System: FreeBSD europa.stokely.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Aug 31 22:11:56 PDT 2001 murray@europa.stokely.org:/usr/src/sys/i386/compile/CALLISTO i386

>Description:

  This is a very simple meta-port that rebuilds latex with larger
default values under the symbolic link 'hugelatex'.  Hugelatex is well
known in the TeX community and is required to get past some limitations
in JadeTeX, which currently falls over for really large documents.

  In fact, our jadetex makefile could be made much simpler once we
have a real hugelatex since we try to compensate for that fact right
now by s/hugelatex/latex/ and that is bad.

  It's been about a year since I've imported a port myself, so can
someone please look over this and let me know if anything is wrong?
portlint doesn't have any problems with it.

  Oh yea, this is obtained from NetBSD.

>How-To-Repeat:

  Try to build really large documents with our doc toolchain.

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hugelatex
#	hugelatex/pkg-descr
#	hugelatex/Makefile
#	hugelatex/files
#	hugelatex/files/texmf.cnf-add
#	hugelatex/pkg-plist
#	hugelatex/pkg-comment
#
echo c - hugelatex
mkdir -p hugelatex > /dev/null 2>&1
echo x - hugelatex/pkg-descr
sed 's/^X//' >hugelatex/pkg-descr << 'END-of-hugelatex/pkg-descr'
XLaTeX format files with large limits needed e.g. by jadetex
Xto process files converted from SGML.
END-of-hugelatex/pkg-descr
echo x - hugelatex/Makefile
sed 's/^X//' >hugelatex/Makefile << 'END-of-hugelatex/Makefile'
X# New ports collection makefile for:    hugelatex
X# Date created:         7 September 2001
X# Whom:                 Murray Stokely <murray@FreeBSD.org>
X#
X# $FreeBSD$
X#
X# $NetBSD: Makefile,v 1.3 2001/09/02 19:51:38 hubertf Exp $
X#
X
XPORTNAME=		hugelatex
XPORTVERSION=		1.0
XCATEGORIES=		print
XMASTER_SITES=		# none
XDISTFILES=		# none
X
XMAINTAINER=		murray@FreeBSD.org
X
XBUILD_DEPENDS=		tex:${PORTSDIR}/print/teTeX
X
XNO_BUILD=		yes
XNO_WRKSUBDIR=		yes
X
XTEXMF_CNF=		${LOCALBASE}/share/texmf/web2c/texmf.cnf
X
Xdo-install:
X	${CP} -p ${TEXMF_CNF} ${TEXMF_CNF}-before-hugelatex
X	${CAT} ${FILESDIR}/texmf.cnf-add >>${TEXMF_CNF}
X	cd `dirname ${TEXMF_CNF}`; \
X	${ECHO} "" | ${PREFIX}/bin/latex -ini -fmt=hugelatex -progname=hugelatex latex.ini || ${TRUE}; \
X	${RM} -f texsys.aux
X	${RM} -f ${PREFIX}/bin/hugelatex
X	${LN} -s latex ${PREFIX}/bin/hugelatex
X	${PREFIX}/bin/mktexlsr
X
X.include <bsd.port.mk>
END-of-hugelatex/Makefile
echo c - hugelatex/files
mkdir -p hugelatex/files > /dev/null 2>&1
echo x - hugelatex/files/texmf.cnf-add
sed 's/^X//' >hugelatex/files/texmf.cnf-add << 'END-of-hugelatex/files/texmf.cnf-add'
X
X% hugelatex settings
X% added by hugelatex package
Xmain_memory.hugelatex = 1100000
Xparam_size.hugelatex = 1500
Xstack_size.hugelatex = 1500
Xhash_extra.hugelatex = 15000
Xstring_vacancies.hugelatex = 45000
Xpool_free.hugelatex = 47500 
Xnest_size.hugelatex = 500
Xsave_size.hugelatex = 5000
Xpool_size.hugelatex = 500000
Xmax_strings.hugelatex = 55000
Xfont_mem_size.hugelatex= 400000
X
END-of-hugelatex/files/texmf.cnf-add
echo x - hugelatex/pkg-plist
sed 's/^X//' >hugelatex/pkg-plist << 'END-of-hugelatex/pkg-plist'
X@comment $NetBSD: PLIST,v 1.2 2000/11/27 22:59:46 hubertf Exp $
Xbin/hugelatex
Xshare/texmf/web2c/hugelatex.fmt
Xshare/texmf/web2c/hugelatex.log
X@exec cp %D/share/texmf/web2c/texmf.cnf %D/share/texmf/web2c/texmf.cnf-before-hugelatex
Xshare/texmf/web2c/texmf.cnf
X@unexec mv %D/share/texmf/web2c/texmf.cnf-before-hugelatex %D/share/texmf/web2c/texmf.cnf
X@unexec %D/bin/mktexlsr
END-of-hugelatex/pkg-plist
echo x - hugelatex/pkg-comment
sed 's/^X//' >hugelatex/pkg-comment << 'END-of-hugelatex/pkg-comment'
XLaTeX format files with large limits
END-of-hugelatex/pkg-comment
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109071217.f87CHUt50401>