From b68f052b338731063ed76632821fd86643ccff30 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Mon, 3 Dec 2001 20:22:51 +0000 Subject: Use ${FILESDIR} appropriately. Use kpsewhich to find tex. PR: ports/29153 Submitted by: Niall Brady --- textproc/docproj/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile index 608ee0accabc..0ddc1d21ff83 100644 --- a/textproc/docproj/Makefile +++ b/textproc/docproj/Makefile @@ -44,12 +44,12 @@ JADETEX?= .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 -- cgit v1.2.3