Date: Mon, 23 Jul 2001 03:37:49 +0100 (BST) From: bradyn@maths.tcd.ie To: FreeBSD-gnats-submit@freebsd.org Subject: ports/29153: Locating jadetex in textproc/docproj port Message-ID: <200107230337.aa41100@gosset.maths.tcd.ie>
next in thread | raw e-mail | index | archive | help
>Number: 29153 >Category: ports >Synopsis: Locating jadetex in textproc/docproj port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 22 19:40:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Niall Brady >Release: FreeBSD 4.2-STABLE i386 >Organization: School of Mathematics, Trinity College Dublin >Environment: * % latex -v TeX (Web2C 7.3.1) 3.14159 kpathsea version 3.3.1 * Weekly cvsupped ports collection from our own copy of the CVS repository >Description: Currently the docproj port looks for jadetex.fmt in $PREFIX/share/texmf/web2c/jadetex.fmt which assumes that you have a standard TeX install location. Maybe it would be more appropriate to get the TeX path from kpsewhich as shown below (which the jadetex port already uses upon installation), so that the individual systems tex installation directory will be found. [The patch also includes a pernickety change from files to ${FILESDIR} thrown up by portlint] >How-To-Repeat: Have a slightly weird (!) installed-by-hand TeX installation like ours, and cd /usr/ports/textproc/docproj make >Fix: Use kpsewhich to find the path. --- /usr/ports/textproc/docproj/Makefile.orig Mon Jul 23 02:00:03 2001 +++ /usr/ports/textproc/docproj/Makefile Mon Jul 23 02:24:06 2001 @@ -36,12 +36,12 @@ .if empty(JADETEX) && (make(build) || make(install)) .BEGIN: - @${CAT} files/JADETEX + @${CAT} ${FILESDIR}/JADETEX @${FALSE} .endif .if ${JADETEX} == yes -RUN_DEPENDS+= ${PREFIX}/share/texmf/web2c/jadetex.fmt:${PORTSDIR}/print/jadetex +RUN_DEPENDS+= `kpsewhich -expand-var '$$TEXMFMAIN'`/web2c/jadetex.fmt:${PORTSDIR}/print/jadetex .endif EXTRACT_ONLY= # empty >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?200107230337.aa41100>