aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>2001-12-04 04:22:51 +0800
committernik <nik@FreeBSD.org>2001-12-04 04:22:51 +0800
commit4e8f0a2eceaf6cfff3b1457d6ec759e1d89b71d4 (patch)
tree4c973ee62a99813648e1c134a856482987e252ae /textproc
parent9409cb0a20847439818afe34b29a711ac9310342 (diff)
downloadfreebsd-ports-gnome-4e8f0a2eceaf6cfff3b1457d6ec759e1d89b71d4.tar.gz
freebsd-ports-gnome-4e8f0a2eceaf6cfff3b1457d6ec759e1d89b71d4.tar.zst
freebsd-ports-gnome-4e8f0a2eceaf6cfff3b1457d6ec759e1d89b71d4.zip
Use ${FILESDIR} appropriately. Use kpsewhich to find tex.
PR: ports/29153 Submitted by: Niall Brady <bradyn@maths.tcd.ie>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docproj/Makefile4
1 files 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