Use ${FILESDIR} appropriately. Use kpsewhich to find tex.

PR:		ports/29153
Submitted by:	Niall Brady <bradyn@maths.tcd.ie>
This commit is contained in:
Nik Clayton 2001-12-03 20:22:51 +00:00
parent 5038cf5e2c
commit b68f052b33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50990

View File

@ -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