summaryrefslogtreecommitdiff
path: root/textproc/docproj
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>2001-12-03 20:22:51 +0000
committerNik Clayton <nik@FreeBSD.org>2001-12-03 20:22:51 +0000
commitb68f052b338731063ed76632821fd86643ccff30 (patch)
tree17a3646bed17ba70123b960179cbd00ff109d76b /textproc/docproj
parentFrom the PR: (diff)
Use ${FILESDIR} appropriately. Use kpsewhich to find tex.
PR: ports/29153 Submitted by: Niall Brady <bradyn@maths.tcd.ie>
Notes
Notes: svn path=/head/; revision=50990
Diffstat (limited to 'textproc/docproj')
-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