aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2005-02-08 15:14:33 +0800
committerhrs <hrs@FreeBSD.org>2005-02-08 15:14:33 +0800
commit42f2617d7998f8dcdd33715580975fd4fe535e99 (patch)
tree53131ea0b9d4b787a5bdb1d1698e49d67921b878
parent57a6daf4a851806291267643fba418cd91f52fc2 (diff)
downloadfreebsd-ports-gnome-42f2617d7998f8dcdd33715580975fd4fe535e99.tar.gz
freebsd-ports-gnome-42f2617d7998f8dcdd33715580975fd4fe535e99.tar.zst
freebsd-ports-gnome-42f2617d7998f8dcdd33715580975fd4fe535e99.zip
Add teTeX-3.0 support.
-rw-r--r--print/xmltex/Makefile17
-rw-r--r--print/xmltex/files/Makefile2
2 files changed, 10 insertions, 9 deletions
diff --git a/print/xmltex/Makefile b/print/xmltex/Makefile
index 388b71c770fc..82da00a15755 100644
--- a/print/xmltex/Makefile
+++ b/print/xmltex/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xmltex
PORTVERSION= 1.9
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \
${MASTER_SITE_TEX_CTAN}
@@ -19,11 +19,11 @@ MAINTAINER= hrs@FreeBSD.org
COMMENT= A non-validating XML parser, written in TeX
BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMF}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
+ ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
latex:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMF}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
+ ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
latex:${PORTSDIR}/print/teTeX-base
.include <bsd.port.pre.mk>
@@ -34,14 +34,15 @@ WRKSRC= ${WRKDIR}/base
MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/${TEXMFWEB2C}
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
-TEXMF= share/texmf
-TEXMFLOCAL= share/texmf-local
-TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
+TEXMFDIR= share/texmf
+TEXMFDISTDIR= share/texmf-dist
+TEXMFLOCALDIR= share/texmf-local
+TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R
TEXMFWEB2C= share/texmf/web2c
DOC_FILES= manual.html manual.tex manual.xml manual.xsl readme.txt
-CLASSDIR= ${TEXMFLOCAL}/tex/xmltex
+CLASSDIR= ${TEXMFLOCALDIR}/tex/xmltex
CLASS_FILES= testascii.cfg testascii.tex testascii.xml \
testsec.tex testsec.xml \
xmltex.cfg xmltex.ini xmltex.tex pdfxmltex.ini \
@@ -51,7 +52,7 @@ CLASS_FILES= testascii.cfg testascii.tex testascii.xml \
russiankoi8.xml russianutf8.xml portugeselatin1.xml \
englishutf16.xml englishutf8.xml
-WEB2CDIR= ${TEXMFLOCAL}/web2c
+WEB2CDIR= ${TEXMFLOCALDIR}/web2c
WEB2C_FILES= xmltex.fmt pdfxmltex.fmt
do-extract:
diff --git a/print/xmltex/files/Makefile b/print/xmltex/files/Makefile
index 4a220d84f325..dbd5cb367b5c 100644
--- a/print/xmltex/files/Makefile
+++ b/print/xmltex/files/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-TEX_CMD?= tex
+TEX_CMD?= etex
LATEX_FMT?= latex
PDFTEX_CMD?= pdftex
PDFLATEX_FMT?= pdflatex