aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-05-12 01:58:55 +0800
committerhrs <hrs@FreeBSD.org>2013-05-12 01:58:55 +0800
commit514b35c5ff85906bace4b99b5298bb03779d8082 (patch)
tree4e99b662e9edb02c504f73d22596ea702c0f3d31 /print
parent3c5290d5fb12b9f59c755a169a5953b92bcd083d (diff)
downloadfreebsd-ports-gnome-514b35c5ff85906bace4b99b5298bb03779d8082.tar.gz
freebsd-ports-gnome-514b35c5ff85906bace4b99b5298bb03779d8082.tar.zst
freebsd-ports-gnome-514b35c5ff85906bace4b99b5298bb03779d8082.zip
Rectify USE_TEX to support both of teTeX and TeXLive.
TEX_DEFAULT: A knob to choose teTeX or TeXLive. One can specify in /etc/make.conf. USE_TEX: A knob for port developers. Valid keywords are listed in bsd.tex.mk.
Diffstat (limited to 'print')
-rw-r--r--print/abntex/Makefile2
-rw-r--r--print/auctex/Makefile2
-rw-r--r--print/bophook/Makefile2
-rw-r--r--print/catdvi/Makefile2
-rw-r--r--print/cjk-lyx/Makefile5
-rw-r--r--print/cm-super/Makefile2
-rw-r--r--print/dvipdfmx/Makefile2
-rw-r--r--print/dvipsk-tetex/Makefile2
-rw-r--r--print/dvisvg/Makefile2
-rw-r--r--print/examplep/Makefile2
-rw-r--r--print/freetype-tools/Makefile2
-rw-r--r--print/hyperlatex/Makefile2
-rw-r--r--print/ifxetex/Makefile2
-rw-r--r--print/jadetex/Makefile2
-rw-r--r--print/latex-aastex/Makefile4
-rw-r--r--print/latex-acm/Makefile2
-rw-r--r--print/latex-arydshln/Makefile2
-rw-r--r--print/latex-auto-greek/Makefile2
-rw-r--r--print/latex-beamer/Makefile2
-rw-r--r--print/latex-biblatex/Makefile2
-rw-r--r--print/latex-biblist/Makefile2
-rw-r--r--print/latex-bytefield/Makefile2
-rw-r--r--print/latex-caption/Makefile2
-rw-r--r--print/latex-chapterfolder/Makefile2
-rw-r--r--print/latex-circ/Makefile2
-rw-r--r--print/latex-cjk/Makefile2
-rw-r--r--print/latex-csquotes/Makefile2
-rw-r--r--print/latex-etoolbox/Makefile2
-rw-r--r--print/latex-feynmf/Makefile2
-rw-r--r--print/latex-keystroke/Makefile2
-rw-r--r--print/latex-logpap/Makefile2
-rw-r--r--print/latex-logreq/Makefile2
-rw-r--r--print/latex-ltablex/Makefile2
-rw-r--r--print/latex-mathabx/Makefile2
-rw-r--r--print/latex-nomencl/Makefile2
-rw-r--r--print/latex-pgf/Makefile2
-rw-r--r--print/latex-prettyref/Makefile2
-rw-r--r--print/latex-resume/Makefile2
-rw-r--r--print/latex-subfloat/Makefile2
-rw-r--r--print/latex-supertabular/Makefile2
-rw-r--r--print/latex-svninfo/Makefile2
-rw-r--r--print/latex-timing/Makefile2
-rw-r--r--print/latex-tipa/Makefile2
-rw-r--r--print/latex-ucs/Makefile2
-rw-r--r--print/latex2slides/Makefile2
-rw-r--r--print/latexmk/Makefile2
-rw-r--r--print/lgrind/Makefile2
-rw-r--r--print/lilypond-devel/Makefile2
-rw-r--r--print/lilypond/Makefile2
-rw-r--r--print/mftrace/Makefile2
-rw-r--r--print/muttprint/Makefile2
-rw-r--r--print/pdfjam/Makefile2
-rw-r--r--print/py-pyscript/Makefile4
-rw-r--r--print/sgf2tex/Makefile2
-rw-r--r--print/teTeX/Makefile12
-rw-r--r--print/tex-mfpic/Makefile2
-rw-r--r--print/tex-omegaware-old/Makefile2
-rw-r--r--print/texlive-base/Makefile1
-rw-r--r--print/texlive-texmf/Makefile4
-rw-r--r--print/texvc/Makefile5
-rw-r--r--print/typetools/Makefile2
-rw-r--r--print/xdvik/Makefile2
-rw-r--r--print/xmltex/Makefile2
-rw-r--r--print/xtexsh/Makefile2
64 files changed, 70 insertions, 79 deletions
diff --git a/print/abntex/Makefile b/print/abntex/Makefile
index 00ba1f6eece9..e49389940a93 100644
--- a/print/abntex/Makefile
+++ b/print/abntex/Makefile
@@ -16,7 +16,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Both classes and styles for both LaTex and bibtex for ABNT rules
-USE_TEX= tetex
+USE_TEX= latex
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
NO_BUILD= yes
diff --git a/print/auctex/Makefile b/print/auctex/Makefile
index eeeee03a32ec..de3d49c2e355 100644
--- a/print/auctex/Makefile
+++ b/print/auctex/Makefile
@@ -14,7 +14,7 @@ COMMENT= Integrated environment for writing LaTeX using GNU Emacs
LICENSE= GPLv3
-USE_TEX= tetex
+USE_TEX= latex
USE_GHOSTSCRIPT=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR} \
diff --git a/print/bophook/Makefile b/print/bophook/Makefile
index ce3bc10162b0..e69562df8599 100644
--- a/print/bophook/Makefile
+++ b/print/bophook/Makefile
@@ -16,7 +16,7 @@ COMMENT= Style file providing a beginning-of-page hook for LaTeX
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_ZIP= yes
-USE_TEX= tetex
+USE_TEX= latex
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/catdvi/Makefile b/print/catdvi/Makefile
index 4664f83c4138..2961ffa68227 100644
--- a/print/catdvi/Makefile
+++ b/print/catdvi/Makefile
@@ -15,7 +15,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A DVI to text/plain translator
-USE_TEX= tetex
+USE_TEX= latex
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
diff --git a/print/cjk-lyx/Makefile b/print/cjk-lyx/Makefile
index 875cf1345dfb..a82a6050a506 100644
--- a/print/cjk-lyx/Makefile
+++ b/print/cjk-lyx/Makefile
@@ -81,10 +81,9 @@ RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
# Choose appropriate settings for each LaTeX
.if ${PORT_OPTIONS:MJATETEX}
-BUILD_DEPENDS+= latex:${PORTSDIR}/japanese/teTeX
-RUN_DEPENDS+= latex:${PORTSDIR}/japanese/teTeX
+USE_TEX= ptex
.else
-USE_TEX= tetex
+USE_TEX= latex
.endif
.include <bsd.port.mk>
diff --git a/print/cm-super/Makefile b/print/cm-super/Makefile
index 7402e75e186c..781a5862f88f 100644
--- a/print/cm-super/Makefile
+++ b/print/cm-super/Makefile
@@ -23,7 +23,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
.endif
USE_ZIP= yes
-USE_TEX= tetex
+USE_TEX= base texmf
WRKSRC= ${WRKDIR}/${PORTNAME}
.if !defined(WITHOUT_X11)
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile
index 72497e914f2a..2c28cdfc05f3 100644
--- a/print/dvipdfmx/Makefile
+++ b/print/dvipdfmx/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
paper:${PORTSDIR}/print/libpaper
RUN_DEPENDS= ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
-USE_TEX= tetex
+USE_TEX= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${LOCALBASE}/share
MAKE_JOBS_SAFE= yes
diff --git a/print/dvipsk-tetex/Makefile b/print/dvipsk-tetex/Makefile
index 71da46e724e1..9aa68a4038e8 100644
--- a/print/dvipsk-tetex/Makefile
+++ b/print/dvipsk-tetex/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
wwwcore.1:${PORTSDIR}/www/libwww \
t1.5:${PORTSDIR}/devel/t1lib
-USE_TEX= tetex-base tetex-texmf
+USE_TEX= base texmf
PLIST_SUB= TEXMFDIR=${TEXMFDIR} \
TEXMFDISTDIR=${TEXMFDISTDIR} \
TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \
diff --git a/print/dvisvg/Makefile b/print/dvisvg/Makefile
index 5fc6d69a150a..51f91e5b30b1 100644
--- a/print/dvisvg/Makefile
+++ b/print/dvisvg/Makefile
@@ -17,7 +17,7 @@ COMMENT= Converter from DVI to SVG
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USE_GHOSTSCRIPT_RUN= yes
-USE_TEX= tetex
+USE_TEX= base texmf
ALL_TARGET= # empty
# workaround for svgfonts.c not including kpathsea/c-auto.h
CFLAGS+= -DHAVE_PROTOTYPES
diff --git a/print/examplep/Makefile b/print/examplep/Makefile
index 948b65f83d8c..ced9e89e1137 100644
--- a/print/examplep/Makefile
+++ b/print/examplep/Makefile
@@ -16,7 +16,7 @@ COMMENT= LaTeX style files for typesetting verbatim source code listings
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_ZIP= yes
-USE_TEX= tetex
+USE_TEX= latex
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/freetype-tools/Makefile b/print/freetype-tools/Makefile
index 3d90e28f3914..db5191003513 100644
--- a/print/freetype-tools/Makefile
+++ b/print/freetype-tools/Makefile
@@ -24,7 +24,7 @@ LIB_DEPENDS= ttf.4:${PORTSDIR}/print/freetype
RUN_DEPENDS= t1asm:${PORTSDIR}/print/t1utils
BUILD_DEPENDS:= ${RUN_DEPENDS}
-USE_TEX= tetex
+USE_TEX= base texmf
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared
diff --git a/print/hyperlatex/Makefile b/print/hyperlatex/Makefile
index e81386c32bd5..6d3c320f8bdc 100644
--- a/print/hyperlatex/Makefile
+++ b/print/hyperlatex/Makefile
@@ -16,7 +16,7 @@ COMMENT= Produce HTML and printed documents from LaTeX source
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
-USE_TEX= tetex
+USE_TEX= latex
USE_EMACS= yes
EMACS_PORT_NAME?= emacs21
diff --git a/print/ifxetex/Makefile b/print/ifxetex/Makefile
index 80413d4420b5..11666a5b94d8 100644
--- a/print/ifxetex/Makefile
+++ b/print/ifxetex/Makefile
@@ -17,7 +17,7 @@ COMMENT= The file ifxetex.sty tests whether XeTeX is being used
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_ZIP= yes
-USE_TEX= tetex
+USE_TEX= latex
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/jadetex/Makefile b/print/jadetex/Makefile
index fe3e29ac859a..3f8ea9863384 100644
--- a/print/jadetex/Makefile
+++ b/print/jadetex/Makefile
@@ -16,7 +16,7 @@ COMMENT= A TeX backend for Jade, for typesetting SGML documents
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
-USE_TEX= tetex
+USE_TEX= tex
MAKE_JOBS_UNSAFE= yes
MAKE_ENV= TEXMFCNF=${FILESDIR}:${TEXMFDIR}/web2c
diff --git a/print/latex-aastex/Makefile b/print/latex-aastex/Makefile
index 68e5daf82192..5d4cced6ffe6 100644
--- a/print/latex-aastex/Makefile
+++ b/print/latex-aastex/Makefile
@@ -16,10 +16,8 @@ DIST_SUBDIR= latex
MAINTAINER= yokota@res.otaru-uc.ac.jp
COMMENT= LaTeX class for American Astronomical Society (AAS) journals
-BUILD_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex
-
USE_GHOSTSCRIPT=yes
-USE_TEX= tetex
+USE_TEX= latex dvipsk
NO_BUILD= yes
NO_WRKSUBDIR= yes
diff --git a/print/latex-acm/Makefile b/print/latex-acm/Makefile
index 06e275d51961..1dd616953a50 100644
--- a/print/latex-acm/Makefile
+++ b/print/latex-acm/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= rea@FreeBSD.org
COMMENT= LaTeX styles for ACM journals
USE_ZIP= yes
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= yes
TEXMFLOCAL= share/texmf-local
diff --git a/print/latex-arydshln/Makefile b/print/latex-arydshln/Makefile
index f18caa958eb2..4a6e1ee2a264 100644
--- a/print/latex-arydshln/Makefile
+++ b/print/latex-arydshln/Makefile
@@ -17,7 +17,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that draws dash-lines in array/tabular
-USE_TEX= tetex
+USE_TEX= latex
PLIST= ${WRKDIR}/pkg-plist
TEXMFLOCAL= share/texmf-local
diff --git a/print/latex-auto-greek/Makefile b/print/latex-auto-greek/Makefile
index 90dc294ee8f1..d094d54a70a9 100644
--- a/print/latex-auto-greek/Makefile
+++ b/print/latex-auto-greek/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://waterdeep.physics.upatras.gr/~eelvex/files/
MAINTAINER= mplekos@physics.upatras.gr
COMMENT= A LaTeX package for switching between greek/latintext automatically
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST_SUB= TEXMFDIST=${TEXMFDIST} UPDMAP=${UPDMAP} \
CLASSDIR=${CLASSDIR} FMTUTIL=${FMTUTIL} \
diff --git a/print/latex-beamer/Makefile b/print/latex-beamer/Makefile
index 24beba4e5f42..f30ab7983e3b 100644
--- a/print/latex-beamer/Makefile
+++ b/print/latex-beamer/Makefile
@@ -11,7 +11,7 @@ COMMENT= A LaTeX class to create a beamer presentation
RUN_DEPENDS= ${LOCALBASE}/${TEXMFDIR}/tex/latex/pgf/basiclayer/pgf.sty:${PORTSDIR}/print/latex-pgf
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-biblatex/Makefile b/print/latex-biblatex/Makefile
index 43c2cd07aa70..32f20dc7dd4c 100644
--- a/print/latex-biblatex/Makefile
+++ b/print/latex-biblatex/Makefile
@@ -15,7 +15,7 @@ COMMENT= Reimplementation of the LaTeX bibliographic facilities
RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox
USE_ZIP= YES
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-biblist/Makefile b/print/latex-biblist/Makefile
index c5f11d268c3e..9def8047c4d8 100644
--- a/print/latex-biblist/Makefile
+++ b/print/latex-biblist/Makefile
@@ -17,7 +17,7 @@ EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for printing all of a BibTeX database entries
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-bytefield/Makefile b/print/latex-bytefield/Makefile
index 7f0f65139ee4..eb705eaf3b25 100644
--- a/print/latex-bytefield/Makefile
+++ b/print/latex-bytefield/Makefile
@@ -16,7 +16,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that utilization diagram of data fields
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
diff --git a/print/latex-caption/Makefile b/print/latex-caption/Makefile
index d22c34976753..12b8a29bb085 100644
--- a/print/latex-caption/Makefile
+++ b/print/latex-caption/Makefile
@@ -17,7 +17,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that supports customization of captions
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
TEXMFDIR=${TEXMFDIR}
diff --git a/print/latex-chapterfolder/Makefile b/print/latex-chapterfolder/Makefile
index 39460b0094de..54d5f6e613cf 100644
--- a/print/latex-chapterfolder/Makefile
+++ b/print/latex-chapterfolder/Makefile
@@ -18,7 +18,7 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that ties section structures and folders
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
TEXMFDIR=${TEXMFDIR}
diff --git a/print/latex-circ/Makefile b/print/latex-circ/Makefile
index e46e346c3ba6..96199372ff1f 100644
--- a/print/latex-circ/Makefile
+++ b/print/latex-circ/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= nivit@FreeBSD.org
COMMENT= A LaTeX package for typesetting circuit diagrams
USE_ZIP= yes
-USE_TEX= tetex
+USE_TEX= latex
# We need to install in the global texmf-local directory
PREFIX= ${LOCALBASE}
diff --git a/print/latex-cjk/Makefile b/print/latex-cjk/Makefile
index 5eea525f71b4..2f3b8c036fc3 100644
--- a/print/latex-cjk/Makefile
+++ b/print/latex-cjk/Makefile
@@ -21,7 +21,7 @@ BUILD_DEPENDS:= ${RUN_DEPENDS} \
LIB_DEPENDS= ttf:${PORTSDIR}/print/freetype
USE_GMAKE= yes
-USE_TEX= tetex
+USE_TEX= latex
MAN1= bg5conv.1 cef5conv.1 cefconv.1 cefsconv.1 extconv.1 \
hbf2gf.1 sjisconv.1
diff --git a/print/latex-csquotes/Makefile b/print/latex-csquotes/Makefile
index 6132ddf4696e..ebead4ab3c59 100644
--- a/print/latex-csquotes/Makefile
+++ b/print/latex-csquotes/Makefile
@@ -18,7 +18,7 @@ COMMENT= Context sensitive quotation facilities
RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox
USE_ZIP= YES
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-etoolbox/Makefile b/print/latex-etoolbox/Makefile
index 625f2b657275..c352a8f2e4fb 100644
--- a/print/latex-etoolbox/Makefile
+++ b/print/latex-etoolbox/Makefile
@@ -14,7 +14,7 @@ MAINTAINER= idolum@users.sourceforge.net
COMMENT= A toolbox providing programming facilities for LaTeX
USE_ZIP= YES
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-feynmf/Makefile b/print/latex-feynmf/Makefile
index 143b2d93a9b0..5ad99dbee1ac 100644
--- a/print/latex-feynmf/Makefile
+++ b/print/latex-feynmf/Makefile
@@ -19,7 +19,7 @@ EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for drawing of Feynman diagrams
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR} FONTDIR=${FONTDIR} MPDIR=${MPDIR}
diff --git a/print/latex-keystroke/Makefile b/print/latex-keystroke/Makefile
index e876492102f5..6b3c32c67d2c 100644
--- a/print/latex-keystroke/Makefile
+++ b/print/latex-keystroke/Makefile
@@ -17,7 +17,7 @@ EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for the graphical representation of the keys
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
diff --git a/print/latex-logpap/Makefile b/print/latex-logpap/Makefile
index 29597a1f6cb7..1bca41398c80 100644
--- a/print/latex-logpap/Makefile
+++ b/print/latex-logpap/Makefile
@@ -20,7 +20,7 @@ COMMENT= A LaTeX package for drawing logarithmic graph paper
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
-USE_TEX= tetex
+USE_TEX= latex
USE_GMAKE= YES
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
diff --git a/print/latex-logreq/Makefile b/print/latex-logreq/Makefile
index 0e2153aac13f..22a7ed093200 100644
--- a/print/latex-logreq/Makefile
+++ b/print/latex-logreq/Makefile
@@ -18,7 +18,7 @@ COMMENT= Support for automation of the LaTeX workflow
RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox
USE_ZIP= YES
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-ltablex/Makefile b/print/latex-ltablex/Makefile
index 0975a9116e8b..f6082626fd1d 100644
--- a/print/latex-ltablex/Makefile
+++ b/print/latex-ltablex/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= rakuco@FreeBSD.org
COMMENT= Combines the features of both the tabularx and longtable packages
USE_ZIP= YES
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR} \
diff --git a/print/latex-mathabx/Makefile b/print/latex-mathabx/Makefile
index 6beeaafcd93b..f5e76be42fd0 100644
--- a/print/latex-mathabx/Makefile
+++ b/print/latex-mathabx/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= hrs@FreeBSD.org
COMMENT= Math series, aka mathabx MetaFont fontset for TeX/LaTeX
USE_ZIP= YES
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST_SUB= TEXMFLOCALDIR=${TEXMFLOCALDIR} \
MKTEXLSR=${MKTEXLSR} \
diff --git a/print/latex-nomencl/Makefile b/print/latex-nomencl/Makefile
index ee1e9aa5d07d..7732a9501556 100644
--- a/print/latex-nomencl/Makefile
+++ b/print/latex-nomencl/Makefile
@@ -18,7 +18,7 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package to generate a nomenclature using MakeIndex
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
TEXMFDIR=${TEXMFDIR}
diff --git a/print/latex-pgf/Makefile b/print/latex-pgf/Makefile
index 0b20d06fd261..9cd3ac49e4f4 100644
--- a/print/latex-pgf/Makefile
+++ b/print/latex-pgf/Makefile
@@ -16,7 +16,7 @@ COMMENT= A LaTeX package for TeX Portable Graphic Format
NO_BUILD= YES
USE_ZIP= YES
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR} \
TEXMFDIR=${TEXMFDIR}
diff --git a/print/latex-prettyref/Makefile b/print/latex-prettyref/Makefile
index 2adebbaee554..e77cc47a2230 100644
--- a/print/latex-prettyref/Makefile
+++ b/print/latex-prettyref/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= yokota@res.otaru-uc.ac.jp
COMMENT= Improved reference formatting for LaTeX2e
USE_ZIP= yes
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= MKTEXLSR=${MKTEXLSR}
TEXMFDIR?= share/texmf
diff --git a/print/latex-resume/Makefile b/print/latex-resume/Makefile
index 6b3fbef2823b..291d87b67e77 100644
--- a/print/latex-resume/Makefile
+++ b/print/latex-resume/Makefile
@@ -19,7 +19,7 @@ DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A resume class for LaTeX
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= yes
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
diff --git a/print/latex-subfloat/Makefile b/print/latex-subfloat/Makefile
index f17aa94023d5..c25ba65a4ac6 100644
--- a/print/latex-subfloat/Makefile
+++ b/print/latex-subfloat/Makefile
@@ -16,7 +16,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that enables subnumbering of different floats
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
diff --git a/print/latex-supertabular/Makefile b/print/latex-supertabular/Makefile
index d18d03ac2eba..05474a556638 100644
--- a/print/latex-supertabular/Makefile
+++ b/print/latex-supertabular/Makefile
@@ -16,7 +16,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= niedbalski@gmail.com
COMMENT= A LaTeX package for a tabular that spans multiple pages
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
USE_GMAKE= yes
diff --git a/print/latex-svninfo/Makefile b/print/latex-svninfo/Makefile
index a05e0236326a..fffccfff0aaa 100644
--- a/print/latex-svninfo/Makefile
+++ b/print/latex-svninfo/Makefile
@@ -16,7 +16,7 @@ PKGNAMEPREFIX= latex-
MAINTAINER= brix@FreeBSD.org
COMMENT= A LaTeX package for Subversion support
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
TEXMFLOCAL= share/texmf-local
diff --git a/print/latex-timing/Makefile b/print/latex-timing/Makefile
index 623f66d7439c..3fdd65d81b47 100644
--- a/print/latex-timing/Makefile
+++ b/print/latex-timing/Makefile
@@ -17,7 +17,7 @@ EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for drawing timing diagrams
-USE_TEX= tetex
+USE_TEX= latex
NO_BUILD= YES
PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR} \
diff --git a/print/latex-tipa/Makefile b/print/latex-tipa/Makefile
index deef5c58e925..f07d50c4b79f 100644
--- a/print/latex-tipa/Makefile
+++ b/print/latex-tipa/Makefile
@@ -15,7 +15,7 @@ DISTNAME= tipa-${PORTVERSION}
MAINTAINER= a.strich.b@web.de
COMMENT= Package which provides T3-encoded fonts to be used with LaTeX2e
-USE_TEX= tetex
+USE_TEX= latex
NO_INSTALL_MANPAGES= yes
NO_BUILD= yes
LATEX_BIN= ${LOCALBASE}/bin/latex
diff --git a/print/latex-ucs/Makefile b/print/latex-ucs/Makefile
index 6523835d056f..884fc6ed5b68 100644
--- a/print/latex-ucs/Makefile
+++ b/print/latex-ucs/Makefile
@@ -18,7 +18,7 @@ COMMENT= A LaTeX package for using UTF-8 as input encoding
NO_BUILD= yes
USE_PERL5_RUN= yes
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= MKTEXLSR="${MKTEXLSR}" CLASSDIR=${CLASSDIR}
TEXMFDIR= share/texmf
diff --git a/print/latex2slides/Makefile b/print/latex2slides/Makefile
index add01c781690..0ba129b8b349 100644
--- a/print/latex2slides/Makefile
+++ b/print/latex2slides/Makefile
@@ -15,7 +15,7 @@ RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
USE_PYTHON= yes
-USE_TEX= tetex
+USE_TEX= dvipsk:run
NO_BUILD= yes
PLIST_SUB= PORTNAME="${PORTNAME}" PORTVERSION="${PORTVERSION}"
diff --git a/print/latexmk/Makefile b/print/latexmk/Makefile
index 421dea609650..56a8437fe009 100644
--- a/print/latexmk/Makefile
+++ b/print/latexmk/Makefile
@@ -18,7 +18,7 @@ NO_BUILD= yes
USE_ZIP= yes
USE_PERL5_RUN= yes
-USE_TEX= tetex
+USE_TEX= latex
MAN1= latexmk.1
PORTDOCS= *
diff --git a/print/lgrind/Makefile b/print/lgrind/Makefile
index 16ace8c72952..c92771cde49b 100644
--- a/print/lgrind/Makefile
+++ b/print/lgrind/Makefile
@@ -52,7 +52,7 @@ EXTRACT_ONLY= ${PORTNAME}.tar.gz
MAINTAINER= dereckson@gmail.com
COMMENT= Produce beautiful listings of source code with LaTeX
-USE_TEX= tetex
+USE_TEX= latex
MAN1= lgrind.1
MAN5= lgrindef.5
diff --git a/print/lilypond-devel/Makefile b/print/lilypond-devel/Makefile
index f2cd22b07db0..783013cdf5d2 100644
--- a/print/lilypond-devel/Makefile
+++ b/print/lilypond-devel/Makefile
@@ -48,7 +48,7 @@ USE_GMAKE= yes
USE_GHOSTSCRIPT=9
USE_PYTHON= yes
USE_PERL5_BUILD=yes
-USE_TEX= tetex
+USE_TEX= latex
USE_GNOME= pango
MAKEFILE= GNUmakefile
diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile
index c3fa634323b5..cfe3513fc204 100644
--- a/print/lilypond/Makefile
+++ b/print/lilypond/Makefile
@@ -42,7 +42,7 @@ INFO= lilypond-notation \
USES= bison:build gettext
USE_GMAKE= yes
USE_GHOSTSCRIPT=9
-USE_TEX= tetex
+USE_TEX= latex
USE_PYTHON= yes
USE_PERL5_BUILD=yes
USE_GNOME= pango
diff --git a/print/mftrace/Makefile b/print/mftrace/Makefile
index 3eb699bbc363..95c18dd9c37d 100644
--- a/print/mftrace/Makefile
+++ b/print/mftrace/Makefile
@@ -29,7 +29,7 @@ RUN_DEPENDS+= potrace:${PORTSDIR}/graphics/potrace
# Python3 ready
USE_PYTHON= yes
-USE_TEX= tetex
+USE_TEX= base texmf
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
diff --git a/print/muttprint/Makefile b/print/muttprint/Makefile
index a02a5b152572..03d74a077d30 100644
--- a/print/muttprint/Makefile
+++ b/print/muttprint/Makefile
@@ -30,7 +30,7 @@ NO_BUILD= yes
PLIST_SUB+= LANGINFO="@comment "
REINPLACE_ARGS= -i ""
-USE_TEX= tetex
+USE_TEX= latex
USE_GMAKE= yes
MAN1= muttprint.1
diff --git a/print/pdfjam/Makefile b/print/pdfjam/Makefile
index 03ee1ad81e94..606462a93718 100644
--- a/print/pdfjam/Makefile
+++ b/print/pdfjam/Makefile
@@ -15,7 +15,7 @@ MASTER_SITES= http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/
MAINTAINER= johans@FreeBSD.org
COMMENT= Shell scripts to manipulate PDF files
-USE_TEX= tetex
+USE_TEX= latex
WRKSRC= ${WRKDIR}/${PORTNAME}
PROGS= pdf90 pdf180 pdf270 pdfbook pdfflip pdfjam \
diff --git a/print/py-pyscript/Makefile b/print/py-pyscript/Makefile
index 26c40e07cce5..c4d920673d54 100644
--- a/print/py-pyscript/Makefile
+++ b/print/py-pyscript/Makefile
@@ -15,11 +15,9 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python module for producing high quality PostScript graphics
-RUN_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex
-
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-USE_TEX= tetex
+USE_TEX= latex dvipsk
DATADIR= ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
diff --git a/print/sgf2tex/Makefile b/print/sgf2tex/Makefile
index 76c8bd50ab4a..baba61fec446 100644
--- a/print/sgf2tex/Makefile
+++ b/print/sgf2tex/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= http://sporadic.stanford.edu/bump/
MAINTAINER= spcoltri@omcl.org
COMMENT= Convert a Go game record in SGF format into TeX and provide fonts to make a dvi
-USE_TEX= tetex
+USE_TEX= tex
PLIST_SUB= MKTEXLSR=${MKTEXLSR}
MAKE_ENV= TEX_BIN=${TEX_BIN}
diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile
index b0206c206d9b..0cb7d12e4350 100644
--- a/print/teTeX/Makefile
+++ b/print/teTeX/Makefile
@@ -12,28 +12,22 @@ EXTRACT_ONLY= # empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A meta port for teTeX suite
-RUN_DEPENDS= ${LOCALBASE}/share/fonts/cm-super/README:${PORTSDIR}/print/cm-super \
- dvips:${PORTSDIR}/print/dvipsk-tetex
+RUN_DEPENDS= ${LOCALBASE}/share/fonts/cm-super/README:${PORTSDIR}/print/cm-super
-USE_TEX= tetex
+USE_TEX= base texmf dvipsk dvipdfmx
OPTIONS_DEFINE= LETTERSIZE X11
LETTERSIZE_DESC= Use letter size by default
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
-RUN_DEPENDS+= xdvi:${PORTSDIR}/print/xdvik
+USE_TEX+= xdvik
.endif
# XXX: We always build in batch mode to disable OPTIONS
# in print/teTeX-base.
DEPENDS_ARGS+= BATCH=yes
-CONFLICTS= latex2e-[0-9]* tex-[0-9]* dvips-[0-9]* xdvi-[0-9]* \
- texlive-[0-9]* tex-web2c-[0-9]* \
- tex-kpathsea-[0-9]* tex-xdvik-[0-9]* \
- tex-dvipsk-[0-9]* tex-dvipdfmx-[0-9]*
-
.if ${PORT_OPTIONS:MLETTERSIZE}
FLAVOR+= letter
DEPENDS_ARGS+= WITH_LETTERSIZE=true
diff --git a/print/tex-mfpic/Makefile b/print/tex-mfpic/Makefile
index 93caf4f1011a..83625764b105 100644
--- a/print/tex-mfpic/Makefile
+++ b/print/tex-mfpic/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= hrs@FreeBSD.org
COMMENT= A TeX package that supports drawing pictures
USE_ZIP= yes
-USE_TEX= tetex
+USE_TEX= latex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
TEXMFDIR=${TEXMFDIR}
TEXMFDIR= share/texmf
diff --git a/print/tex-omegaware-old/Makefile b/print/tex-omegaware-old/Makefile
index 8522d94a53f0..8fb12541caeb 100644
--- a/print/tex-omegaware-old/Makefile
+++ b/print/tex-omegaware-old/Makefile
@@ -16,7 +16,7 @@ EXTRACT_ONLY= ${TETEX_SRC}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Old version of ovf2ovp, ovp2ovf, ofm2opl, and opl2ofm
-USE_TEX= tetex
+USE_TEX= base texmf
DIST_SUBDIR= teTeX
WRKSRC= ${WRKDIR}/tetex-src-${PORTVERSION}/texk/web2c
CONFIGURE_WRKSRC= ${WRKDIR}/tetex-src-${PORTVERSION}
diff --git a/print/texlive-base/Makefile b/print/texlive-base/Makefile
index 20198ca0502a..3fa0dac379b0 100644
--- a/print/texlive-base/Makefile
+++ b/print/texlive-base/Makefile
@@ -24,6 +24,7 @@ LIB_DEPENDS= icuio:${PORTSDIR}/devel/icu \
zzip:${PORTSDIR}/devel/zziplib
USE_TEX= web2c kpathsea ptexenc texhash
+TEX_DEFAULT= texlive # override user configuration
USE_XZ= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf
diff --git a/print/texlive-texmf/Makefile b/print/texlive-texmf/Makefile
index 79a11b17ec7a..8990de0a942c 100644
--- a/print/texlive-texmf/Makefile
+++ b/print/texlive-texmf/Makefile
@@ -13,7 +13,9 @@ MAINTAINER= hrs@FreeBSD.org
COMMENT= TeX Live Typesetting System, texmf Tree
USE_XZ= yes
-USE_TEX= base
+USE_TEX= base texhash
+TEX_DEFAULT= texlive # override user configuration
+TEXHASHDIRS= ${TEXMFDIR} ${TEXMFDISTDIR}
NO_BUILD= yes
NO_WRKSRC= yes
diff --git a/print/texvc/Makefile b/print/texvc/Makefile
index 83d040a403a4..83e23086fef4 100644
--- a/print/texvc/Makefile
+++ b/print/texvc/Makefile
@@ -30,9 +30,8 @@ RASTER_DESC= rasterization support
.if ${PORT_OPTIONS:MRASTER}
USE_GHOSTSCRIPT_RUN= yes
-USE_TEX= tetex
-RUN_DEPENDS+= dvips:${PORTSDIR}/print/dvipsk-tetex \
- convert:${PORTSDIR}/graphics/ImageMagick
+USE_TEX= latex dvipsk
+RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
.endif
do-install:
diff --git a/print/typetools/Makefile b/print/typetools/Makefile
index 2c8659e335c0..35bd1a8f593e 100644
--- a/print/typetools/Makefile
+++ b/print/typetools/Makefile
@@ -12,7 +12,7 @@ COMMENT= Tools for manipulating fonts
LICENSE= GPLv2
-USE_TEX= tetex
+USE_TEX= base
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_header_kpathsea_kpathsea_h=yes
CONFIGURE_ARGS= --with-kpathsea=${LOCALBASE}
diff --git a/print/xdvik/Makefile b/print/xdvik/Makefile
index e2408d700c8c..2a941f689487 100644
--- a/print/xdvik/Makefile
+++ b/print/xdvik/Makefile
@@ -15,7 +15,7 @@ COMMENT= DVI Previewer(kpathsearch) for X
LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib
USE_GMAKE= yes
-USE_TEX= tetex
+USE_TEX= base texmf
USE_MOTIF= yes
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
diff --git a/print/xmltex/Makefile b/print/xmltex/Makefile
index 0c2bedfcf799..ab6a11196f31 100644
--- a/print/xmltex/Makefile
+++ b/print/xmltex/Makefile
@@ -20,7 +20,7 @@ COMMENT= A non-validating XML parser, written in TeX
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
-USE_TEX= tetex
+USE_TEX= tex
.include <bsd.port.pre.mk>
diff --git a/print/xtexsh/Makefile b/print/xtexsh/Makefile
index e6152aae31fb..b2ecb70cad83 100644
--- a/print/xtexsh/Makefile
+++ b/print/xtexsh/Makefile
@@ -21,7 +21,7 @@ LICENSE_COMB= dual
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
NO_BUILD= yes
-USE_TEX= tetex
+USE_TEX= latex
USE_TK_WRAPPER= yes
INSTALLS_ICONS= yes
MAN1= xtexsh.1