diff options
author | flz <flz@FreeBSD.org> | 2005-06-01 22:40:18 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-06-01 22:40:18 +0800 |
commit | 1c83ce0ba6b0bbcc01677eaed0cd79a464496000 (patch) | |
tree | e534bd0ef39f94601fb1d84de73f0c2c55244603 /print/jadetex | |
parent | 17afcedf52cd528f30812b005a2659618ecb04b4 (diff) | |
download | freebsd-ports-gnome-1c83ce0ba6b0bbcc01677eaed0cd79a464496000.tar.gz freebsd-ports-gnome-1c83ce0ba6b0bbcc01677eaed0cd79a464496000.tar.zst freebsd-ports-gnome-1c83ce0ba6b0bbcc01677eaed0cd79a464496000.zip |
- Remove hard-coded tetex-base prefix.
PR: ports/29154
Submitted by: Niall Brady <bradyn@maths.tcd.ie>
Approved by: maintainer timeout (more than 1 month)
Diffstat (limited to 'print/jadetex')
-rw-r--r-- | print/jadetex/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/print/jadetex/Makefile b/print/jadetex/Makefile index 15c95acd5025..45d13911f6ae 100644 --- a/print/jadetex/Makefile +++ b/print/jadetex/Makefile @@ -19,7 +19,9 @@ BUILD_DEPENDS= etex:${PORTSDIR}/print/teTeX-base LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png RUN_DEPENDS= etex:${PORTSDIR}/print/teTeX-base -MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/share/texmf/web2c +TETEXBASE?= ${LOCALBASE} + +MAKE_ENV= TEXMFCNF=${FILESDIR}:${TETEXBASE}/share/texmf/web2c MESSAGE= ${PKGDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message @@ -30,7 +32,7 @@ pre-patch: @${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${MESSAGE} > ${PKGMESSAGE} do-install: - @cd ${WRKSRC}; TEXMFMAIN=$$(kpsewhich -expand-var '$$TEXMFMAIN'); \ + @cd ${WRKSRC}; TEXMFMAIN=${TETEXBASE}/share/texmf; \ ${INSTALL_DATA} jadetex.fmt pdfjadetex.fmt $$TEXMFMAIN/web2c; \ ${MKDIR} -m 555 $$TEXMFMAIN/tex/jadetex; \ ${INSTALL_DATA} dsssl.def jadetex.ltx $$TEXMFMAIN/tex/jadetex; \ |