aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-05-06 10:00:40 +0800
committerhrs <hrs@FreeBSD.org>2013-05-06 10:00:40 +0800
commit7d813d3d1216f86eb5fb23e9bb2b1016686e382a (patch)
tree03323bda08dff3e59e16e53235d609d9f8541643
parent56bfc43ff611d8bd6cd9e8de4be32b94d4cfea27 (diff)
downloadfreebsd-ports-gnome-7d813d3d1216f86eb5fb23e9bb2b1016686e382a.tar.gz
freebsd-ports-gnome-7d813d3d1216f86eb5fb23e9bb2b1016686e382a.tar.zst
freebsd-ports-gnome-7d813d3d1216f86eb5fb23e9bb2b1016686e382a.zip
Remove *_DEPENDS from ports which depend on teTeX and add USE_TEX=tetex
instead to make migration to TeXLive easier.
-rw-r--r--Mk/bsd.tex.mk3
-rw-r--r--arabic/arabtex/Makefile5
-rw-r--r--astro/pp3/Makefile3
-rw-r--r--chinese/cwtex/Makefile3
-rw-r--r--comms/gnuradio/Makefile4
-rw-r--r--deskutils/etask/Makefile4
-rw-r--r--deskutils/tomboy-plugin-latex/Makefile4
-rw-r--r--devel/avr-libc/Makefile3
-rw-r--r--devel/doxygen/Makefile2
-rw-r--r--devel/gdcm/Makefile6
-rw-r--r--devel/meta-cvs/Makefile2
-rw-r--r--devel/ml-doc/Makefile2
-rw-r--r--devel/ocamlweb/Makefile2
-rw-r--r--devel/ragel/Makefile2
-rw-r--r--devel/simulavr/Makefile4
-rw-r--r--editors/kile-kde4/Makefile4
-rw-r--r--editors/kile/Makefile4
-rw-r--r--editors/texmacs/Makefile4
-rw-r--r--editors/texmaker/Makefile4
-rw-r--r--editors/texmakerx/Makefile4
-rw-r--r--editors/winefish/Makefile2
-rw-r--r--editors/zim/Makefile2
-rw-r--r--graphics/epix/Makefile5
-rw-r--r--graphics/evince/Makefile3
-rw-r--r--graphics/gle-graphics/Makefile2
-rw-r--r--graphics/ipe/Makefile2
-rw-r--r--graphics/kdegraphics3/Makefile2
-rw-r--r--graphics/klatexformula/Makefile4
-rw-r--r--graphics/l2p/Makefile4
-rw-r--r--graphics/okular/Makefile2
-rw-r--r--graphics/py-PyX/Makefile4
-rw-r--r--japanese/dvipsk/Makefile11
-rw-r--r--japanese/platex-japanese/Makefile4
-rw-r--r--japanese/platex-jsclasses/Makefile4
-rw-r--r--japanese/ptex/Makefile7
-rw-r--r--japanese/teTeX/Makefile6
-rw-r--r--japanese/texfamily-vfn2a/Makefile11
-rw-r--r--japanese/texfamily/Makefile7
-rw-r--r--japanese/xdvik/Makefile9
-rw-r--r--korean/ko.TeX-fonts-base/Makefile4
-rw-r--r--korean/ko.TeX-fonts-extra/Makefile4
-rw-r--r--korean/ko.TeX/Makefile5
-rw-r--r--lang/hope/Makefile4
-rw-r--r--lang/logo/Makefile2
-rw-r--r--lang/mlton/Makefile4
-rw-r--r--lang/twelf/Makefile2
-rw-r--r--math/R/Makefile4
-rw-r--r--math/asymptote/Makefile2
-rw-r--r--math/coq/Makefile2
-rw-r--r--math/eukleides/Makefile4
-rw-r--r--math/giacxcas/Makefile4
-rw-r--r--math/gnuplot/Makefile3
-rw-r--r--math/naturalmath/Makefile3
-rw-r--r--math/petsc/Makefile2
-rw-r--r--math/sage/Makefile4
-rw-r--r--misc/latex-mk/Makefile7
-rw-r--r--net-im/pidgin-latex/Makefile2
-rw-r--r--net-mgmt/netmagis-common/Makefile4
-rw-r--r--print/abntex/Makefile3
-rw-r--r--print/auctex/Makefile4
-rw-r--r--print/bophook/Makefile3
-rw-r--r--print/catdvi/Makefile3
-rw-r--r--print/cjk-lyx/Makefile3
-rw-r--r--print/cm-super/Makefile2
-rw-r--r--print/dvipdfmx/Makefile5
-rw-r--r--print/dvipsk-tetex/Makefile7
-rw-r--r--print/dvisvg/Makefile5
-rw-r--r--print/examplep/Makefile3
-rw-r--r--print/freetype-tools/Makefile4
-rw-r--r--print/hyperlatex/Makefile4
-rw-r--r--print/ifxetex/Makefile3
-rw-r--r--print/jadetex/Makefile3
-rw-r--r--print/latex-aastex/Makefile4
-rw-r--r--print/latex-acm/Makefile6
-rw-r--r--print/latex-arydshln/Makefile6
-rw-r--r--print/latex-auto-greek/Makefile6
-rw-r--r--print/latex-beamer/Makefile5
-rw-r--r--print/latex-biblatex/Makefile7
-rw-r--r--print/latex-biblist/Makefile6
-rw-r--r--print/latex-bytefield/Makefile4
-rw-r--r--print/latex-caption/Makefile6
-rw-r--r--print/latex-chapterfolder/Makefile6
-rw-r--r--print/latex-circ/Makefile6
-rw-r--r--print/latex-cjk/Makefile2
-rw-r--r--print/latex-csquotes/Makefile7
-rw-r--r--print/latex-etoolbox/Makefile6
-rw-r--r--print/latex-feynmf/Makefile4
-rw-r--r--print/latex-keystroke/Makefile6
-rw-r--r--print/latex-logpap/Makefile6
-rw-r--r--print/latex-logreq/Makefile7
-rw-r--r--print/latex-ltablex/Makefile4
-rw-r--r--print/latex-mathabx/Makefile6
-rw-r--r--print/latex-nomencl/Makefile6
-rw-r--r--print/latex-pgf/Makefile4
-rw-r--r--print/latex-prettyref/Makefile4
-rw-r--r--print/latex-resume/Makefile4
-rw-r--r--print/latex-subfloat/Makefile6
-rw-r--r--print/latex-supertabular/Makefile6
-rw-r--r--print/latex-svninfo/Makefile6
-rw-r--r--print/latex-timing/Makefile4
-rw-r--r--print/latex-tipa/Makefile4
-rw-r--r--print/latex-ucs/Makefile6
-rw-r--r--print/latex2slides/Makefile2
-rw-r--r--print/latexmk/Makefile3
-rw-r--r--print/lgrind/Makefile3
-rw-r--r--print/lilypond-devel/Makefile7
-rw-r--r--print/lilypond/Makefile7
-rw-r--r--print/mftrace/Makefile4
-rw-r--r--print/muttprint/Makefile4
-rw-r--r--print/pdfjam/Makefile3
-rw-r--r--print/py-pyscript/Makefile4
-rw-r--r--print/sgf2tex/Makefile4
-rw-r--r--print/teTeX/Makefile6
-rw-r--r--print/tex-mfpic/Makefile6
-rw-r--r--print/tex-omegaware-old/Makefile3
-rw-r--r--print/texpower/Makefile4
-rw-r--r--print/texvc/Makefile4
-rw-r--r--print/typetools/Makefile3
-rw-r--r--print/xdvik/Makefile10
-rw-r--r--print/xmltex/Makefile8
-rw-r--r--print/xtexsh/Makefile3
-rw-r--r--russian/pscyr/Makefile4
-rw-r--r--science/abinit/Makefile4
-rw-r--r--science/ecs/Makefile4
-rw-r--r--science/mpqc/Makefile2
-rw-r--r--science/ncs/Makefile4
-rw-r--r--security/libtomcrypt/Makefile2
-rw-r--r--textproc/bibtool/Makefile3
-rw-r--r--textproc/dblatex/Makefile4
-rw-r--r--textproc/ecromedos/Makefile2
-rw-r--r--textproc/eqe/Makefile5
-rw-r--r--textproc/foiltex/Makefile4
-rw-r--r--textproc/gastex/Makefile4
-rw-r--r--textproc/gladtex/Makefile4
-rw-r--r--textproc/hs-lhs2tex/Makefile4
-rw-r--r--textproc/latex2html/Makefile4
-rw-r--r--textproc/metauml/Makefile4
-rw-r--r--textproc/p5-LaTeX-Driver/Makefile4
-rw-r--r--textproc/ppower4/Makefile4
-rw-r--r--textproc/prosper/Makefile4
-rw-r--r--textproc/rubber/Makefile3
-rw-r--r--textproc/sgmltools-lite/Makefile4
-rw-r--r--textproc/sowing/Makefile4
-rw-r--r--textproc/tex2im/Makefile2
-rw-r--r--textproc/textogif/Makefile4
-rw-r--r--textproc/tth/Makefile4
-rw-r--r--textproc/yodl/Makefile3
-rw-r--r--vietnamese/vntex/Makefile4
-rw-r--r--www/trac-math/Makefile4
-rw-r--r--www/twiki-MathModePlugin/Makefile6
150 files changed, 218 insertions, 416 deletions
diff --git a/Mk/bsd.tex.mk b/Mk/bsd.tex.mk
index 53e2fe082224..9fe164763fc7 100644
--- a/Mk/bsd.tex.mk
+++ b/Mk/bsd.tex.mk
@@ -136,7 +136,8 @@ _USE_TEXLIVE_INFRA= ${SITE_PERL}/TeXLive/TLConfig.pm:${PORTSDIR}/print/texlive-i
CONFLICTS_INSTALL+= ${CONFLICTS_TETEX}
.endif
-.for D in TEXLIVE_BASE TEX_WEB2C TEXLIVE_TEXMF TEXLIVE_INFRA \
+.for D in TETEX_TEXMF TETEX_BASE TEXLIVE_BASE TEX_WEB2C TEXLIVE_TEXMF \
+ TEXLIVE_INFRA \
TEX_FORMATS TEX_ALEPH TEX_JADETEX TEX_XMLTEX TEX_LUATEX \
TEX_XETEX TEX_PTEX TEX_XDVIK TEX_DVIPSK
RUN_DEPENDS+= ${_USE_${D}}
diff --git a/arabic/arabtex/Makefile b/arabic/arabtex/Makefile
index 028040c492c1..c044aec4a52d 100644
--- a/arabic/arabtex/Makefile
+++ b/arabic/arabtex/Makefile
@@ -12,10 +12,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= nivit@FreeBSD.org
COMMENT= TeX/LaTeX package to generate Arabic writing
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
+USE_TEX= tetex
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_SUB= MKTEXLSR=${MKTEXLSR}
diff --git a/astro/pp3/Makefile b/astro/pp3/Makefile
index cda097192437..030593952868 100644
--- a/astro/pp3/Makefile
+++ b/astro/pp3/Makefile
@@ -10,9 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/PP3/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Creates celestial charts
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
USE_BZIP2= yes
+USE_TEX= tetex
.include <bsd.port.options.mk>
diff --git a/chinese/cwtex/Makefile b/chinese/cwtex/Makefile
index e6fa9f6bbf77..e31d3d455912 100644
--- a/chinese/cwtex/Makefile
+++ b/chinese/cwtex/Makefile
@@ -16,8 +16,7 @@ DISTFILES= cwtexmain.tgz cwtexbin-${PORTVERSION}.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= CwTeX let you use Chinese Big5 codes in TeX/LaTeX documents
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
-
+USE_TEX= tetex
NO_BUILD= yes
NO_WRKSUBDIR= yes
diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile
index b5ce2cebc93c..a046667ed6d1 100644
--- a/comms/gnuradio/Makefile
+++ b/comms/gnuradio/Makefile
@@ -51,12 +51,12 @@ TESTING_DESC= Include testing support
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.if ${PORT_OPTIONS:MDOCS}
+USE_TEX= tetex
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
${LOCALBASE}/bin/sphinx-apidoc:${PORTSDIR}/textproc/py-sphinx \
dot:${PORTSDIR}/graphics/graphviz \
xmlto:${PORTSDIR}/textproc/xmlto \
- ${LOCALBASE}/lib/X11/fonts/freefont-ttf/fonts.scale:${PORTSDIR}/x11-fonts/freefont-ttf \
- latex:${PORTSDIR}/print/teTeX
+ ${LOCALBASE}/lib/X11/fonts/freefont-ttf/fonts.scale:${PORTSDIR}/x11-fonts/freefont-ttf
CMAKE_ARGS+= -DENABLE_DOXYGEN:STRING="ON"
CMAKE_ARGS+= -DENABLE_DOCS:STRING="ON"
HAVE_PORTDOCS= YES
diff --git a/deskutils/etask/Makefile b/deskutils/etask/Makefile
index fa974cff2d24..992c8ddda741 100644
--- a/deskutils/etask/Makefile
+++ b/deskutils/etask/Makefile
@@ -15,13 +15,13 @@ MASTER_SITES= http://members.chello.at/rene.weichselbaum/ \
MAINTAINER= dryice@dryice.name
COMMENT= Manage your projects or tasks within GNU Emacs
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- dvips:${PORTSDIR}/print/dvipsk-tetex \
+RUN_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
xpdf:${PORTSDIR}/graphics/xpdf
USE_EMACS= yes
EMACS_PORT_NAME?= emacs21
USE_GHOSTSCRIPT_RUN= yes
+USE_TEX= tetex
.if ${EMACS_PORT_NAME} != "emacs21"
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
diff --git a/deskutils/tomboy-plugin-latex/Makefile b/deskutils/tomboy-plugin-latex/Makefile
index 88c777d281b5..28e1169db180 100644
--- a/deskutils/tomboy-plugin-latex/Makefile
+++ b/deskutils/tomboy-plugin-latex/Makefile
@@ -16,10 +16,10 @@ MAINTAINER= mono@FreeBSD.org
COMMENT= LaTeX math plugin for Tomboy
BUILD_DEPENDS= tomboy:${PORTSDIR}/deskutils/tomboy
-RUN_DEPENDS= tomboy:${PORTSDIR}/deskutils/tomboy \
- latex:${PORTSDIR}/print/teTeX-base
+RUN_DEPENDS= tomboy:${PORTSDIR}/deskutils/tomboy
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_TEX= tetex
.include <bsd.port.mk>
diff --git a/devel/avr-libc/Makefile b/devel/avr-libc/Makefile
index ce679e69f43c..468fe7725732 100644
--- a/devel/avr-libc/Makefile
+++ b/devel/avr-libc/Makefile
@@ -37,9 +37,8 @@ WITHOUT_AVRLIBCDOCS= true
.endif
.if defined(WITH_AVRLIBCDOCS)
+USE_TEX= tetex
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
- latex:${PORTSDIR}/print/teTeX \
- pdflatex:${PORTSDIR}/print/teTeX \
fig2dev:${PORTSDIR}/print/transfig \
jpegtopnm:${PORTSDIR}/graphics/netpbm
.endif
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index 1d9b29a7daa2..354266d1d65f 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -52,7 +52,7 @@ BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
.if ${PORT_OPTIONS:MPDFDOCS}
ALL_TARGET+= pdf
-BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX
+USE_TEX= tetex
USE_GHOSTSCRIPT_BUILD= yes
MAKE_ARGS+= HAVE_PDFDOCS=yes
.endif # PDFDOCS
diff --git a/devel/gdcm/Makefile b/devel/gdcm/Makefile
index 0a37b87104ca..68a0ae4d2b87 100644
--- a/devel/gdcm/Makefile
+++ b/devel/gdcm/Makefile
@@ -51,9 +51,9 @@ PLIST_SUB+= GDCM_MAJ="${GDCM_MAJ}" \
GDCM_SO="${GDCM_SO}"
.if ${PORT_OPTIONS:MDOCS}
-BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
- pdfopt:${PORTSDIR}/print/ghostscript9 \
- pdflatex:${PORTSDIR}/print/teTeX-base
+USE_TEX= tetex
+USE_GHOSTSCRIPT= yes
+BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
CMAKE_ARGS+= -DGDCM_DOCUMENTATION:BOOL=YES \
-DGDCM_INSTALL_MAN_DIR:STRING=${MAN1PREFIX}/man \
-DGDCM_INSTALL_DOC_DIR:STRING=${DOCSDIR}
diff --git a/devel/meta-cvs/Makefile b/devel/meta-cvs/Makefile
index ecb279325ecd..8b189eb2db73 100644
--- a/devel/meta-cvs/Makefile
+++ b/devel/meta-cvs/Makefile
@@ -37,7 +37,7 @@ PORTDOCS= Meta-CVS-PAPER \
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPDFDOC} && !defined(NOPORTDOCS)
-BUILD_DEPENDS+= pdflatex:${PORTSDIR}/print/teTeX-base
+USE_TEX= tetex
PORTDOCS+= meta-cvs.pdf
.endif
diff --git a/devel/ml-doc/Makefile b/devel/ml-doc/Makefile
index 716033d8e120..967760493c71 100644
--- a/devel/ml-doc/Makefile
+++ b/devel/ml-doc/Makefile
@@ -40,7 +40,7 @@ LATEX_DESC= Install LaTeX if necessary (needed for pdf output)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLATEX}
-RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX
+USE_TEX= tetex
.endif
post-extract:
diff --git a/devel/ocamlweb/Makefile b/devel/ocamlweb/Makefile
index a8f4d16fc297..7922bd1ff2e8 100644
--- a/devel/ocamlweb/Makefile
+++ b/devel/ocamlweb/Makefile
@@ -17,8 +17,8 @@ MAINTAINER= hrs@FreeBSD.org
COMMENT= A literate programming tool for Objective Caml
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
+USE_TEX= tetex
GNU_CONFIGURE= yes
PLIST_SUB+= TEXMFDIR=${TEXMFDIR} \
MKTEXLSR=${MKTEXLSR}
diff --git a/devel/ragel/Makefile b/devel/ragel/Makefile
index 4bc32aa2dc8e..64915578b934 100644
--- a/devel/ragel/Makefile
+++ b/devel/ragel/Makefile
@@ -23,9 +23,9 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
+USE_TEX= tetex
CONFIGURE_ARGS+= --enable-manual
BUILD_DEPENDS+= fig2dev:${PORTSDIR}/print/transfig
-BUILD_DEPENDS+= pdflatex:${PORTSDIR}/print/teTeX
PLIST_SUB+= DOCS=""
.else
PLIST_SUB+= DOCS="@comment "
diff --git a/devel/simulavr/Makefile b/devel/simulavr/Makefile
index 61462e90f497..bce4cafb22e0 100644
--- a/devel/simulavr/Makefile
+++ b/devel/simulavr/Makefile
@@ -20,12 +20,12 @@ COMMENT= A simulator for AVR microcontrollers
BUILD_DEPENDS= ${LOCALBASE}/avr/include/avr/io.h:${PORTSDIR}/devel/avr-libc \
avr-ld:${PORTSDIR}/devel/avr-binutils \
doxygen:${PORTSDIR}/devel/doxygen \
- texi2dvi:${PORTSDIR}/print/texinfo \
- latex:${PORTSDIR}/print/teTeX
+ texi2dvi:${PORTSDIR}/print/texinfo
BROKEN= does not package
#USE_BZIP2= yes
+USE_TEX= tetex
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/editors/kile-kde4/Makefile b/editors/kile-kde4/Makefile
index 1690fc93da23..61e22d9c4485 100644
--- a/editors/kile-kde4/Makefile
+++ b/editors/kile-kde4/Makefile
@@ -9,13 +9,13 @@ MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${DISTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= LaTeX source editor for KDE
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- identify:${PORTSDIR}/graphics/ImageMagick
+RUN_DEPENDS= identify:${PORTSDIR}/graphics/ImageMagick
USE_BZIP2= yes
USES= cmake
USE_QT4= qmake_build moc_build rcc_build uic_build
USE_KDE4= kdeprefix kdelibs automoc4 sharedmime kate_run
+USE_TEX= tetex
MAKE_JOBS_SAFE= yes
LATEST_LINK= ${PORTNAME}-kde4
diff --git a/editors/kile/Makefile b/editors/kile/Makefile
index b0bf9b199ebc..30971f56e73f 100644
--- a/editors/kile/Makefile
+++ b/editors/kile/Makefile
@@ -14,8 +14,7 @@ MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A LaTeX source editor for KDE
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- identify:${PORTSDIR}/graphics/ImageMagick
+RUN_DEPENDS= identify:${PORTSDIR}/graphics/ImageMagick
DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE= 2013-07-01
@@ -27,6 +26,7 @@ USE_KDELIBS_VER=3
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
+USE_TEX= tetex
OPTIONS_DEFINE= KPDF
OPTIONS_DEFAULT= KPDF
diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile
index 172732e678ee..73b6b4feb145 100644
--- a/editors/texmacs/Makefile
+++ b/editors/texmacs/Makefile
@@ -12,14 +12,12 @@ DISTNAME= TeXmacs-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= WYSIWYG scientific text editor
-BUILD_DEPENDS= tex:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= guile.21:${PORTSDIR}/lang/guile
-RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX-base
MAKE_JOBS_SAFE= yes
USE_PYTHON= yes
-
+USE_TEX= tetex
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/editors/texmaker/Makefile b/editors/texmaker/Makefile
index 715cccbb4503..64349c5886f8 100644
--- a/editors/texmaker/Makefile
+++ b/editors/texmaker/Makefile
@@ -12,14 +12,14 @@ COMMENT= LaTeX Development Environment
LIB_DEPENDS= poppler:${PORTSDIR}/graphics/poppler \
poppler-qt4:${PORTSDIR}/graphics/poppler-qt4
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- dvips:${PORTSDIR}/print/dvipsk-tetex \
+RUN_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_BZIP2= yes
USE_GHOSTSCRIPT=yes
USE_QT4= gui network xml webkit \
moc_build qmake_build rcc_build uic_build
+USE_TEX= tetex
HAS_CONFIGURE= yes
QMAKE_ARGS= PREFIX=${PREFIX} ICONDIR=${PREFIX}/share/pixmaps \
DESKTOPDIR=${DESKTOPDIR}
diff --git a/editors/texmakerx/Makefile b/editors/texmakerx/Makefile
index a797c0434cd6..ec80b909cb76 100644
--- a/editors/texmakerx/Makefile
+++ b/editors/texmakerx/Makefile
@@ -13,8 +13,7 @@ COMMENT= A LaTeX IDE derived from Texmaker
LIB_DEPENDS= poppler:${PORTSDIR}/graphics/poppler \
poppler-qt4:${PORTSDIR}/graphics/poppler-qt4
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- dvips:${PORTSDIR}/print/dvipsk-tetex \
+RUN_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
@@ -22,6 +21,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
USE_GHOSTSCRIPT=yes
USE_QT4= gui network xml moc_build qmake_build rcc_build \
uic_build qtestlib script
+USE_TEX= tetex
HAS_CONFIGURE= yes
INSTALLS_ICONS= yes
MAKE_JOBS_UNSAFE= yes
diff --git a/editors/winefish/Makefile b/editors/winefish/Makefile
index 10c4d362d725..6038adddfed4 100644
--- a/editors/winefish/Makefile
+++ b/editors/winefish/Makefile
@@ -16,7 +16,6 @@ LIB_DEPENDS= aspell.16:${PORTSDIR}/textproc/aspell \
pcre.3:${PORTSDIR}/devel/pcre
RUN_DEPENDS= dos2unix:${PORTSDIR}/converters/unix2dos \
gv:${PORTSDIR}/print/gv \
- latex:${PORTSDIR}/print/teTeX \
tidy:${PORTSDIR}/www/tidy-lib \
xpdf:${PORTSDIR}/graphics/xpdf
@@ -27,6 +26,7 @@ CONFIGURE_ARGS+= --with-freedesktop_org-menu=${GNOME_LOCALSTATEDIR}/applications
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= libgnomeui desktopfileutils gnomehier
+USE_TEX= tetex
OPTIONS_DEFINE= CONTEXT VNTEX UNIKEY_GTK NLS DOCS
CONTEXT_DESC= ConTexT support (Experimental)
diff --git a/editors/zim/Makefile b/editors/zim/Makefile
index a373773c5a82..bda8fa7140d2 100644
--- a/editors/zim/Makefile
+++ b/editors/zim/Makefile
@@ -38,7 +38,7 @@ DITAA_DESC= Diagram editor support
RUN_DEPENDS+= R:${PORTSDIR}/math/R
.endif
.if ${PORT_OPTIONS:MLATEX}
-RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base
+USE_TEX= tetex
.endif
.if ${PORT_OPTIONS:MGRAPHVIZ}
RUN_DEPENDS+= fdp:${PORTSDIR}/graphics/graphviz
diff --git a/graphics/epix/Makefile b/graphics/epix/Makefile
index 6bba48f0ffee..098739fd0ac8 100644
--- a/graphics/epix/Makefile
+++ b/graphics/epix/Makefile
@@ -20,12 +20,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
latex-pgf>=0:${PORTSDIR}/print/latex-pgf \
- latex:${PORTSDIR}/print/teTeX-base \
- bash:${PORTSDIR}/shells/bash
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
bash:${PORTSDIR}/shells/bash
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_BZIP2= yes
+USE_TEX= tetex
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-bash=${LOCALBASE}/bin/bash \
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index 32efa2a7155a..e7681b702716 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -55,8 +55,7 @@ DJVU_DESC= DJVU support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDVI} || ${PORT_OPTIONS:MT1LIB}
-BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS+= tex:${PORTSDIR}/print/teTeX-base
+USE_TEX= tetex
CONFIGURE_ARGS+= --enable-dvi
GCONF_SCHEMAS+= evince-thumbnailer-dvi.schemas
diff --git a/graphics/gle-graphics/Makefile b/graphics/gle-graphics/Makefile
index 5537303caeb6..a567430694c3 100644
--- a/graphics/gle-graphics/Makefile
+++ b/graphics/gle-graphics/Makefile
@@ -49,7 +49,7 @@ CONFIGURE_ARGS+= --with-jpeg=no --with-png=no -with-tiff=no
.if !defined(WITHOUT_LATEX_GS)
USE_GHOSTSCRIPT_RUN= yes
-RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX
+USE_TEX= tetex
.endif
.if !defined(WITHOUT_X_WINDOWS)
diff --git a/graphics/ipe/Makefile b/graphics/ipe/Makefile
index a4f633f93801..d6f696397c37 100644
--- a/graphics/ipe/Makefile
+++ b/graphics/ipe/Makefile
@@ -13,7 +13,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Extensible drawing editor
LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}/src
@@ -22,6 +21,7 @@ USE_LDCONFIG= yes
USE_LUA= 5.1
USE_GMAKE= yes
USE_QT4= gui qt3support qmake_build moc_build uic_build rcc_build
+USE_TEX= tetex
MAN1= ipe.1 ipe6upgrade.1 ipeextract.1 iperender.1 ipetoipe.1 ipescript.1
.include <bsd.port.options.mk>
diff --git a/graphics/kdegraphics3/Makefile b/graphics/kdegraphics3/Makefile
index 7a5cc0e54fa2..8f5c62ef215c 100644
--- a/graphics/kdegraphics3/Makefile
+++ b/graphics/kdegraphics3/Makefile
@@ -17,7 +17,6 @@ DIST_SUBDIR= KDE
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphics utilities for the KDE3 integrated X11 desktop
-BUILD_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
freetype.9:${PORTSDIR}/print/freetype2 \
@@ -35,6 +34,7 @@ PREFIX= ${KDE_PREFIX}
USE_GL= glut
USE_BZIP2= yes
+USE_TEX= tetex
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --without-poppler
USE_GMAKE= yes
diff --git a/graphics/klatexformula/Makefile b/graphics/klatexformula/Makefile
index dc7277ec49df..ec4b4eb03466 100644
--- a/graphics/klatexformula/Makefile
+++ b/graphics/klatexformula/Makefile
@@ -14,12 +14,12 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= Convert LaTeX formula to image
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- dvips:${PORTSDIR}/print/dvipsk-tetex \
+RUN_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_QT4= gui xml dbus designer_build \
qmake_build moc_build rcc_build uic_build
+USE_TEX= tetex
HAS_CONFIGURE= yes
USE_GHOSTSCRIPT= yes
QMAKE_ARGS= QMAKE=${QMAKE} INSTALLPREFIX=${PREFIX} \
diff --git a/graphics/l2p/Makefile b/graphics/l2p/Makefile
index 193795be3ddb..2e3862dcdc17 100644
--- a/graphics/l2p/Makefile
+++ b/graphics/l2p/Makefile
@@ -16,11 +16,11 @@ MAINTAINER= nivit@FreeBSD.org
COMMENT= Create PNG images from LaTeX math expressions
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
- dvips:${PORTSDIR}/print/dvipsk-tetex \
- latex:${PORTSDIR}/print/teTeX
+ dvips:${PORTSDIR}/print/dvipsk-tetex
USE_PERL5_RUN= yes
USE_ZIP= yes
+USE_TEX= tetex
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/graphics/okular/Makefile b/graphics/okular/Makefile
index 8fbe5bdf5f97..c0b11b9fac27 100644
--- a/graphics/okular/Makefile
+++ b/graphics/okular/Makefile
@@ -38,7 +38,7 @@ DVI_DESC= Support DVI files (requires teTeX)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDVI}
-RUN_DEPENDS+= kpsewhich:${PORTSDIR}/print/teTeX-base
+USE_TEX= tetex
.endif
.include <bsd.port.mk>
diff --git a/graphics/py-PyX/Makefile b/graphics/py-PyX/Makefile
index 32298c3e01cc..b421e0d2d40d 100644
--- a/graphics/py-PyX/Makefile
+++ b/graphics/py-PyX/Makefile
@@ -12,10 +12,9 @@ COMMENT= A Python package for the creation of encapsulated PostScript figures
LICENSE= GPLv2
-BUILD_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX
-
USE_PYTHON= 2.5+
USE_PYDISTUTILS=yes
+USE_TEX= tetex
OPTIONS_DEFINE= T1CODE KPATHSEA
OPTIONS_DEFAULT= T1CODE KPATHSEA
@@ -35,7 +34,6 @@ PLIST_SUB+= T1CODE="@comment "
.endif
.if ${PORT_OPTIONS:MKPATHSEA}
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB+= KPATHSEA=""
.else
diff --git a/japanese/dvipsk/Makefile b/japanese/dvipsk/Makefile
index e307745614cd..171121939b4b 100644
--- a/japanese/dvipsk/Makefile
+++ b/japanese/dvipsk/Makefile
@@ -19,14 +19,8 @@ EXTRACT_ONLY= ${TETEX_SRC}${EXTRACT_SUFX} \
MAINTAINER= hrs@FreeBSD.org
COMMENT= A DVI to PostScript translator + Japanese patch
-BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex
-RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex
+BUILD_DEPENDS= ${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex
+RUN_DEPENDS= ${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
wwwcore.1:${PORTSDIR}/www/libwww \
t1.5:${PORTSDIR}/devel/t1lib
@@ -44,6 +38,7 @@ PLIST_SUB= DVIPSDIR=${DVIPSDIR} \
TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \
FONTSMAPDIR=${FONTSMAPDIR} \
UPDMAP_SYS="${UPDMAP_SYS}"
+USE_TEX= tetex
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-multiplatform \
diff --git a/japanese/platex-japanese/Makefile b/japanese/platex-japanese/Makefile
index 3fcd50963887..db79b2b6129c 100644
--- a/japanese/platex-japanese/Makefile
+++ b/japanese/platex-japanese/Makefile
@@ -18,11 +18,11 @@ DIST_SUBDIR= latex
MAINTAINER= yokota@res.otaru-uc.ac.jp
COMMENT= pLaTeX package that literally provides Japanese option to babel
-BUILD_DEPENDS= ${LOCALBASE}/share/texmf:${PORTSDIR}/print/teTeX-texmf \
- ptex:${PORTSDIR}/japanese/ptex \
+BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex \
iconv:${PORTSDIR}/converters/libiconv
USE_ZIP= yes
+USE_TEX= tetex
TEXMFDIR= share/texmf
STYDIR= tex/generic/babel
diff --git a/japanese/platex-jsclasses/Makefile b/japanese/platex-jsclasses/Makefile
index 9b4ad0d029ab..9d9724251e3a 100644
--- a/japanese/platex-jsclasses/Makefile
+++ b/japanese/platex-jsclasses/Makefile
@@ -17,10 +17,10 @@ DISTFILES= ${PORTNAME}-${PORTVERSION:S/^1.0.20//}${EXTRACT_SUFX}:0 \
MAINTAINER= hrs@FreeBSD.org
COMMENT= New document class files for pLaTeX
-RUN_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ptex:${PORTSDIR}/japanese/ptex
+RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex
USE_ZIP= YES
+USE_TEX= tetex
NO_BUILD= YES
PLIST_SUB= CLASSDIR=${CLASSDIR} TFMDIR=${TFMDIR} \
PLDIR=${PLDIR} MKTEXLSR=${MKTEXLSR} \
diff --git a/japanese/ptex/Makefile b/japanese/ptex/Makefile
index 2b7bd5347c62..a3d8bdde389a 100644
--- a/japanese/ptex/Makefile
+++ b/japanese/ptex/Makefile
@@ -22,12 +22,6 @@ DIST_SUBDIR= teTeX
MAINTAINER= hrs@FreeBSD.org
COMMENT= ASCII Japanese pTeX which supports teTeX distribution
-BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
wwwcore.1:${PORTSDIR}/www/libwww \
t1.5:${PORTSDIR}/devel/t1lib
@@ -37,6 +31,7 @@ CONFLICTS_INSTALL= \
tex-kpathsea-[0-9]* tex-xdvik-[0-9]* \
tex-dvipsk-[0-9]* tex-dvipdfmx-[0-9]*
+USE_TEX= tetex
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${KANJICODE}
CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
diff --git a/japanese/teTeX/Makefile b/japanese/teTeX/Makefile
index 48d7afc8f97f..52e5840518fa 100644
--- a/japanese/teTeX/Makefile
+++ b/japanese/teTeX/Makefile
@@ -11,10 +11,7 @@ EXTRACT_ONLY= # empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A meta port for teTeX suite for Japanese (including pTeX and JTeX)
-RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- tex:${PORTSDIR}/print/teTeX-base \
- ptex:${PORTSDIR}/japanese/ptex \
+RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex \
dvips:${PORTSDIR}/japanese/dvipsk \
jtex:${PORTSDIR}/japanese/texfamily \
${JTEXVF}:${PORTSDIR}/japanese/texfamily-vfn2a
@@ -26,6 +23,7 @@ CONFLICTS= texlive-[0-9]* tex-web2c-[0-9]* \
tex-kpathsea-[0-9]* tex-xdvik-[0-9]* \
tex-dvipsk-[0-9]* tex-dvipdfmx-[0-9]*
+USE_TEX= tetex
JTEXVF= ${LOCALBASE}/share/texmf-local/fonts/vf/n2a/dmjsy5.vf
TEXMFLOCAL_LSR= ${LOCALBASE}/share/texmf-local/ls-R
TEXMFDISTDIR= share/texmf-dist
diff --git a/japanese/texfamily-vfn2a/Makefile b/japanese/texfamily-vfn2a/Makefile
index 44bde6789b24..dc66d64859ae 100644
--- a/japanese/texfamily-vfn2a/Makefile
+++ b/japanese/texfamily-vfn2a/Makefile
@@ -14,17 +14,12 @@ DISTNAME= vftool-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Virtual fonts for NTT JTeX
-BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex \
+BUILD_DEPENDS= ${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex \
jtex:${PORTSDIR}/japanese/texfamily
-RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex \
+RUN_DEPENDS= ${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex \
jtex:${PORTSDIR}/japanese/texfamily
+USE_TEX= tetex
MAKE_ENV= JTEXTFMDIR=${LOCALBASE}/${TEXMFLOCALDIR}/fonts/tfm/muling/nttsub \
PTEXTFMDIR=${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex
diff --git a/japanese/texfamily/Makefile b/japanese/texfamily/Makefile
index 5d44b3f9ebf8..47f2afda8d5c 100644
--- a/japanese/texfamily/Makefile
+++ b/japanese/texfamily/Makefile
@@ -26,16 +26,11 @@ EXTRACT_ONLY= teTeX-src-1.0.7${EXTRACT_SUFX} \
MAINTAINER= hrs@FreeBSD.org
COMMENT= A Japanese TeX, NTT JTeX (TeXfamily)
-BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
wwwcore.1:${PORTSDIR}/www/libwww \
t1.5:${PORTSDIR}/devel/t1lib
+USE_TEX= tetex
USE_GCC= any
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${KANJICODE}
diff --git a/japanese/xdvik/Makefile b/japanese/xdvik/Makefile
index 580021fcaf36..6cc91be25b28 100644
--- a/japanese/xdvik/Makefile
+++ b/japanese/xdvik/Makefile
@@ -16,13 +16,7 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= hrs@FreeBSD.org
COMMENT= DVI Previewer(kpathsearch) for X. + freetype support
-BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex \
+RUN_DEPENDS= ${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex \
${LOCALBASE}/${MINCHO}:${PORTSDIR}/japanese/font-std \
${LOCALBASE}/${GOTHIC}:${PORTSDIR}/japanese/font-std
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
@@ -30,6 +24,7 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
t1.5:${PORTSDIR}/devel/t1lib
DIST_SUBDIR= xdvik
+USE_TEX= tetex
USE_GMAKE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --datadir=${PREFIX}/${TEXMFDIR:S,texmf$,,} \
diff --git a/korean/ko.TeX-fonts-base/Makefile b/korean/ko.TeX-fonts-base/Makefile
index d556184ef3a2..646faf049065 100644
--- a/korean/ko.TeX-fonts-base/Makefile
+++ b/korean/ko.TeX-fonts-base/Makefile
@@ -15,9 +15,7 @@ DISTNAME= ko.tex-unfonts-base-20070927
MAINTAINER= hyogeollee@gmail.com
COMMENT= Korean TeX base fonts
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
-
+USE_TEX= tetex
CONFLICTS= hlatex-[0-9]*
NO_WRKSUBDIR= yes
diff --git a/korean/ko.TeX-fonts-extra/Makefile b/korean/ko.TeX-fonts-extra/Makefile
index 03581ea36717..43f9ed74eadf 100644
--- a/korean/ko.TeX-fonts-extra/Makefile
+++ b/korean/ko.TeX-fonts-extra/Makefile
@@ -15,9 +15,7 @@ DISTFILES= ko.tex-extra-hlfont.tar.gz ko.tex-unfonts-extra.tar.gz
MAINTAINER= hyogeollee@gmail.com
COMMENT= Korean TeX extra fonts
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
-
+USE_TEX= tetex
CONFLICTS= hlatex-[0-9]*
NO_WRKSUBDIR= yes
diff --git a/korean/ko.TeX/Makefile b/korean/ko.TeX/Makefile
index aaef04cf2312..01859ea5236b 100644
--- a/korean/ko.TeX/Makefile
+++ b/korean/ko.TeX/Makefile
@@ -15,10 +15,9 @@ DISTNAME= ko.tex-macro-20080329
MAINTAINER= hyogeollee@gmail.com
COMMENT= Korean TeX macro and utilities
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
- ${BASE_MAP}:${PORTSDIR}/korean/ko.TeX-fonts-base
-BUILD_DEPENDS= texhash:${PORTSDIR}/print/teTeX
+RUN_DEPENDS= ${BASE_MAP}:${PORTSDIR}/korean/ko.TeX-fonts-base
+USE_TEX= tetex
CONFLICTS= hlatex-[0-9]*
NO_WRKSUBDIR= yes
diff --git a/lang/hope/Makefile b/lang/hope/Makefile
index d909f235486d..a4f6bd4e9e36 100644
--- a/lang/hope/Makefile
+++ b/lang/hope/Makefile
@@ -15,8 +15,8 @@ MAINTAINER= lev@FreeBSD.org
COMMENT= Hope is lazy interpreter for HOPE applicative language
.if defined(WITH_DOCS)
-BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX \
- latex2html:${PORTSDIR}/textproc/latex2html
+USE_TEX= tetex
+BUILD_DEPENDS+= latex2html:${PORTSDIR}/textproc/latex2html
MAKE_ARGS+= WITH_DOCS=yes
.else
NOPORTDOCS= yes
diff --git a/lang/logo/Makefile b/lang/logo/Makefile
index 75eb8e029492..c2c9b88aebf6 100644
--- a/lang/logo/Makefile
+++ b/lang/logo/Makefile
@@ -21,7 +21,7 @@ USE_EMACS= yes
.if defined(WITH_FULL_DOCS)
.undef NOPORTDOCS
-BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX-base
+USE_TEX= tetex
USE_GHOSTSCRIPT=yes
.endif
diff --git a/lang/mlton/Makefile b/lang/mlton/Makefile
index 85fedba9c679..6f085de7a9b3 100644
--- a/lang/mlton/Makefile
+++ b/lang/mlton/Makefile
@@ -31,8 +31,8 @@ OPTIONS= SMLNJ "Bootstrap with SML/NJ (can take >15 hours)" off \
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= gsed:${PORTSDIR}/textproc/gsed \
- htmldoc:${PORTSDIR}/textproc/htmldoc \
- latex:${PORTSDIR}/print/teTeX
+ htmldoc:${PORTSDIR}/textproc/htmldoc
+USE_TEX= tetex
.else
INSTALL_TARGET= install-no-docs
ALL_TARGET= all-no-docs
diff --git a/lang/twelf/Makefile b/lang/twelf/Makefile
index eb864a89daf6..c7b2c8599a25 100644
--- a/lang/twelf/Makefile
+++ b/lang/twelf/Makefile
@@ -26,7 +26,7 @@ RUN_DEPENDS= sml:${PORTSDIR}/lang/sml-nj
BUILD_DEPENDS= sml:${PORTSDIR}/lang/sml-nj
.endif
-BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX
+USE_TEX= tetex
.if defined(WITH_MLTON)
MAKEFILE= mlton/Makefile
diff --git a/math/R/Makefile b/math/R/Makefile
index f23712a92f91..517118169667 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -244,8 +244,8 @@ INFO= R-FAQ R-admin R-data R-exts R-intro R-lang
.if ${PORT_OPTIONS:MPDF_MANUALS} && ${PORT_OPTIONS:MDOCS}
BROKEN = The PDF_MANUALS option cannot be used, because\
print/texinfo is incompatible with print/teTeX-base
-BUILD_DEPENDS += pdftex:${PORTSDIR}/print/teTeX-base \
- texi2dvi:${PORTSDIR}/print/texinfo
+USE_TEX= tetex
+BUILD_DEPENDS += texi2dvi:${PORTSDIR}/print/texinfo
ALL_TARGET+= pdf
CONFIGURE_ENV += INSTALL_INFO="${LOCALBASE}/bin/install-info" \
MAKEINFO="${LOCALBASE}/bin/makeinfo"
diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile
index 1da184f69810..e37895f25c59 100644
--- a/math/asymptote/Makefile
+++ b/math/asymptote/Makefile
@@ -17,7 +17,6 @@ LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
RUN_DEPENDS= gv:${PORTSDIR}/print/gv \
- latex:${PORTSDIR}/print/teTeX-base \
${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \
${PYTHON_PKGNAMEPREFIX}imaging>=1.1.6_3:${PORTSDIR}/graphics/py-imaging
@@ -26,6 +25,7 @@ ONLY_FOR_ARCHS= i386 amd64
CONFIGURE_ARGS= --disable-gc
USE_GHOSTSCRIPT=yes
+USE_TEX= tetex
USE_GL= glut
USE_GMAKE= yes
USE_PERL5_BUILD= yes
diff --git a/math/coq/Makefile b/math/coq/Makefile
index e735506fd335..a2191926c16c 100644
--- a/math/coq/Makefile
+++ b/math/coq/Makefile
@@ -36,8 +36,8 @@ MAN1= coq-tex.1 coq_makefile.1 coqc.1 coqchk.1 coqdep.1 coqdoc.1 \
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
+USE_TEX= tetex
BUILD_DEPENDS+= hevea:${PORTSDIR}/textproc/hevea \
- latex:${PORTSDIR}/print/teTeX \
${LOCALBASE}/share/texmf/tex/latex/ucs/utf8x.def:${PORTSDIR}/print/latex-ucs
PORTDOCS= *
.else
diff --git a/math/eukleides/Makefile b/math/eukleides/Makefile
index 4f6c6fe88bd5..5701d54e9d0f 100644
--- a/math/eukleides/Makefile
+++ b/math/eukleides/Makefile
@@ -11,10 +11,10 @@ MAINTAINER= ashish@FreeBSD.org
COMMENT= A Euclidean geometry drawing language
LIB_DEPENDS= readline.6:${PORTSDIR}/devel/readline
-RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit \
- epstopdf:${PORTSDIR}/print/teTeX-base
+RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit
USE_BZIP2= yes
+USE_TEX= tetex
USES= bison gettext iconv
USE_GMAKE= yes
diff --git a/math/giacxcas/Makefile b/math/giacxcas/Makefile
index 4326b9e8da8f..3d372be0c960 100644
--- a/math/giacxcas/Makefile
+++ b/math/giacxcas/Makefile
@@ -14,8 +14,7 @@ COMMENT= Computer algebra system by Bernard Parisse
LICENSE= GPLv3
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- dvips:${PORTSDIR}/print/dvipsk-tetex \
+BUILD_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
bash:${PORTSDIR}/shells/bash \
${LOCALBASE}/lib/libntl.a:${PORTSDIR}/math/ntl
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
@@ -30,6 +29,7 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GL= gl
USE_XORG= xcursor xft xi
+USE_TEX= tetex
USE_LDCONFIG= yes
USES= gettext
MAKE_JOBS_SAFE= yes
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index 66d829419e46..61e06c263b23 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -68,8 +68,7 @@ CONFIGURE_ARGS+= --without-plot
.endif
.if ${PORT_OPTIONS:MTETEX}
-BUILD_DEPENDS+= kpsexpand:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS+= kpsexpand:${PORTSDIR}/print/teTeX-base
+USE_TEX= tetex
CONFIGURE_ARGS+= --with-kpsexpand \
--with-texdir=${LOCALBASE}/share/texmf/tex/latex/gnuplot
PLIST_SUB+= TETEX=""
diff --git a/math/naturalmath/Makefile b/math/naturalmath/Makefile
index 4d32d31b9a96..471d5b23578e 100644
--- a/math/naturalmath/Makefile
+++ b/math/naturalmath/Makefile
@@ -14,9 +14,8 @@ MASTER_SITES= http://www.math.missouri.edu/~stephen/naturalmath/
MAINTAINER= stephen@FreeBSD.org
COMMENT= Script to turn intuitively written math into latex
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
-
USE_PERL5= yes
+USE_TEX= tetex
post-patch:
@${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/naturalmath
diff --git a/math/petsc/Makefile b/math/petsc/Makefile
index e6b71d102503..8e9fd552838a 100644
--- a/math/petsc/Makefile
+++ b/math/petsc/Makefile
@@ -56,8 +56,8 @@ CONFIGURE_ARGS+= --with-umfpack-include="${LOCALBASE}/include/suitesparse" \
.if !defined(NOPORTDOCS)
PORTDOCS= *
+#USE_TEX= tetex
#BUILD_DEPENDS+= c2html:${PORTSDIR}/textproc/c2html \
-# pdflatex:${PORTSDIR}/print/teTeX-base \
# doc2lt:${PORTSDIR}/textproc/sowing
.endif
diff --git a/math/sage/Makefile b/math/sage/Makefile
index 2d2b62adf8d0..a3eadedaee0a 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -13,8 +13,7 @@ EXTRACT_SUFX= .tar
MAINTAINER= stephen@FreeBSD.org
COMMENT= Open source Mathematics software
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- bash:${PORTSDIR}/shells/bash
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas \
lapack:${PORTSDIR}/math/lapack \
jpeg:${PORTSDIR}/graphics/jpeg
@@ -33,6 +32,7 @@ USE_FORTRAN= yes
USE_GCC= 4.7+
USE_TK= yes
USE_GMAKE= yes
+USE_TEX= tetex
USES= iconv
MAKE_JOBS_SAFE= yes
LDFLAGS:= -Wl,-rpath=${WRKSRC}/local/lib ${LDFLAGS}
diff --git a/misc/latex-mk/Makefile b/misc/latex-mk/Makefile
index 17232435a130..d0119d10bacc 100644
--- a/misc/latex-mk/Makefile
+++ b/misc/latex-mk/Makefile
@@ -15,11 +15,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= A collection of makefile and scripts for LaTeX documents
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- texi2dvi:${PORTSDIR}/print/texinfo
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- texi2dvi:${PORTSDIR}/print/texinfo
+BUILD_DEPENDS= texi2dvi:${PORTSDIR}/print/texinfo
+RUN_DEPENDS= texi2dvi:${PORTSDIR}/print/texinfo
+USE_TEX= tetex
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/net-im/pidgin-latex/Makefile b/net-im/pidgin-latex/Makefile
index 5e5d38e89751..410c7991a330 100644
--- a/net-im/pidgin-latex/Makefile
+++ b/net-im/pidgin-latex/Makefile
@@ -18,12 +18,12 @@ COMMENT= Display LaTeX output in your IMs
BUILD_DEPENDS= ${LOCALBASE}/include/pidgin/pidgin.h:${PORTSDIR}/net-im/pidgin
RUN_DEPENDS= pidgin:${PORTSDIR}/net-im/pidgin \
- latex:${PORTSDIR}/print/teTeX \
convert:${PORTSDIR}/graphics/ImageMagick
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}
CFLAGS+= "-fPIC"
+USE_TEX= tetex
USE_GMAKE= yes
USE_GNOME= gtk20
USE_BZIP2= yes
diff --git a/net-mgmt/netmagis-common/Makefile b/net-mgmt/netmagis-common/Makefile
index 4443684a5904..bc39f040aa80 100644
--- a/net-mgmt/netmagis-common/Makefile
+++ b/net-mgmt/netmagis-common/Makefile
@@ -28,8 +28,8 @@ USE_PGSQL+= server pltcl
.if ${PKGNAMESUFFIX} == -www
USE_APACHE= 22+
-RUN_DEPENDS+= pdflatex:${PORTSDIR}/print/teTeX-base \
- dot:${PORTSDIR}/graphics/graphviz \
+USE_TEX= tetex
+RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz \
pwgen:${PORTSDIR}/sysutils/pwgen \
${LOCALBASE}/libexec/apache22/mod_auth_pgsql.so:${PORTSDIR}/www/mod_auth_pgsql2
# FIXME compile apache22 with option mod_auth_ldap
diff --git a/print/abntex/Makefile b/print/abntex/Makefile
index 1dd65ae5d489..00ba1f6eece9 100644
--- a/print/abntex/Makefile
+++ b/print/abntex/Makefile
@@ -16,8 +16,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Both classes and styles for both LaTex and bibtex for ABNT rules
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
NO_BUILD= yes
diff --git a/print/auctex/Makefile b/print/auctex/Makefile
index 559bb05e7561..eeeee03a32ec 100644
--- a/print/auctex/Makefile
+++ b/print/auctex/Makefile
@@ -14,9 +14,7 @@ COMMENT= Integrated environment for writing LaTeX using GNU Emacs
LICENSE= GPLv3
-BUILD_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
USE_GHOSTSCRIPT=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR} \
diff --git a/print/bophook/Makefile b/print/bophook/Makefile
index 9a0b1b75c973..ce3bc10162b0 100644
--- a/print/bophook/Makefile
+++ b/print/bophook/Makefile
@@ -14,10 +14,9 @@ DISTNAME= ${PORTNAME}
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= Style file providing a beginning-of-page hook for LaTeX
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_ZIP= yes
+USE_TEX= tetex
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/catdvi/Makefile b/print/catdvi/Makefile
index 2adc206dd6d3..4664f83c4138 100644
--- a/print/catdvi/Makefile
+++ b/print/catdvi/Makefile
@@ -15,8 +15,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A DVI to text/plain translator
-BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX
-
+USE_TEX= tetex
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
diff --git a/print/cjk-lyx/Makefile b/print/cjk-lyx/Makefile
index 2e39d7134f3c..875cf1345dfb 100644
--- a/print/cjk-lyx/Makefile
+++ b/print/cjk-lyx/Makefile
@@ -84,8 +84,7 @@ RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
BUILD_DEPENDS+= latex:${PORTSDIR}/japanese/teTeX
RUN_DEPENDS+= latex:${PORTSDIR}/japanese/teTeX
.else
-BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX
-RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX
+USE_TEX= tetex
.endif
.include <bsd.port.mk>
diff --git a/print/cm-super/Makefile b/print/cm-super/Makefile
index 7dce078fc194..7402e75e186c 100644
--- a/print/cm-super/Makefile
+++ b/print/cm-super/Makefile
@@ -21,9 +21,9 @@ COMMENT= Computer Modern Font Families in Type 1 Fonts
.if !defined(WITHOUT_X11)
BUILD_DEPENDS= ${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
.endif
-RUN_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
USE_ZIP= yes
+USE_TEX= tetex
WRKSRC= ${WRKDIR}/${PORTNAME}
.if !defined(WITHOUT_X11)
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile
index e68d08328c29..72497e914f2a 100644
--- a/print/dvipdfmx/Makefile
+++ b/print/dvipdfmx/Makefile
@@ -19,12 +19,11 @@ COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support
LICENSE= GPLv2 # (or later)
-BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
paper:${PORTSDIR}/print/libpaper
-RUN_DEPENDS= ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
- kpsepath:${PORTSDIR}/print/teTeX-base
+RUN_DEPENDS= ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
+USE_TEX= tetex
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 7f3dba7c5f55..e8e76bf0b904 100644
--- a/print/dvipsk-tetex/Makefile
+++ b/print/dvipsk-tetex/Makefile
@@ -13,16 +13,11 @@ DIST_SUBDIR= teTeX
MAINTAINER= hrs@FreeBSD.org
COMMENT= Convert a TeX DVI file to PostScript
-BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
wwwcore.1:${PORTSDIR}/www/libwww \
t1.5:${PORTSDIR}/devel/t1lib
+USE_TEX= tetex
PLIST_SUB= TEXMFDIR=${TEXMFDIR} \
TEXMFDISTDIR=${TEXMFDISTDIR} \
TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \
diff --git a/print/dvisvg/Makefile b/print/dvisvg/Makefile
index e7ae960c9801..5fc6d69a150a 100644
--- a/print/dvisvg/Makefile
+++ b/print/dvisvg/Makefile
@@ -15,12 +15,9 @@ MASTER_SITES= http://dvisvg.sourceforge.net/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Converter from DVI to SVG
-BUILD_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USE_GHOSTSCRIPT_RUN= yes
+USE_TEX= tetex
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 4fb0f0c70cab..948b65f83d8c 100644
--- a/print/examplep/Makefile
+++ b/print/examplep/Makefile
@@ -14,10 +14,9 @@ DISTNAME= ${PORTNAME}
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= LaTeX style files for typesetting verbatim source code listings
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_ZIP= yes
+USE_TEX= tetex
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/freetype-tools/Makefile b/print/freetype-tools/Makefile
index 4eab433875cc..3d90e28f3914 100644
--- a/print/freetype-tools/Makefile
+++ b/print/freetype-tools/Makefile
@@ -21,10 +21,10 @@ MAINTAINER= rafan@FreeBSD.org
COMMENT= Tools for FreeType 1
LIB_DEPENDS= ttf.4:${PORTSDIR}/print/freetype
-RUN_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base \
- t1asm:${PORTSDIR}/print/t1utils
+RUN_DEPENDS= t1asm:${PORTSDIR}/print/t1utils
BUILD_DEPENDS:= ${RUN_DEPENDS}
+USE_TEX= tetex
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 03fec69135ca..e81386c32bd5 100644
--- a/print/hyperlatex/Makefile
+++ b/print/hyperlatex/Makefile
@@ -14,9 +14,9 @@ MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/2.9a
MAINTAINER= ports@FreeBSD.org
COMMENT= Produce HTML and printed documents from LaTeX source
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
- ppmtogif:${PORTSDIR}/graphics/netpbm
+RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
+USE_TEX= tetex
USE_EMACS= yes
EMACS_PORT_NAME?= emacs21
diff --git a/print/ifxetex/Makefile b/print/ifxetex/Makefile
index 4a0350b4bc2e..80413d4420b5 100644
--- a/print/ifxetex/Makefile
+++ b/print/ifxetex/Makefile
@@ -15,10 +15,9 @@ DISTNAME= ${PORTNAME}
MAINTAINER= martin.dieringer@gmx.de
COMMENT= The file ifxetex.sty tests whether XeTeX is being used
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_ZIP= yes
+USE_TEX= tetex
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/jadetex/Makefile b/print/jadetex/Makefile
index 260884041109..fe3e29ac859a 100644
--- a/print/jadetex/Makefile
+++ b/print/jadetex/Makefile
@@ -14,10 +14,9 @@ MASTER_SITES= SF
MAINTAINER= doceng@FreeBSD.org
COMMENT= A TeX backend for Jade, for typesetting SGML documents
-BUILD_DEPENDS= etex:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
-RUN_DEPENDS= etex:${PORTSDIR}/print/teTeX-base
+USE_TEX= tetex
MAKE_JOBS_UNSAFE= yes
MAKE_ENV= TEXMFCNF=${FILESDIR}:${TEXMFDIR}/web2c
diff --git a/print/latex-aastex/Makefile b/print/latex-aastex/Makefile
index 660c19be680d..68e5daf82192 100644
--- a/print/latex-aastex/Makefile
+++ b/print/latex-aastex/Makefile
@@ -16,10 +16,10 @@ DIST_SUBDIR= latex
MAINTAINER= yokota@res.otaru-uc.ac.jp
COMMENT= LaTeX class for American Astronomical Society (AAS) journals
-BUILD_DEPENDS= ${LOCALBASE}/share/texmf:${PORTSDIR}/print/teTeX-texmf \
- dvips:${PORTSDIR}/print/dvipsk-tetex
+BUILD_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex
USE_GHOSTSCRIPT=yes
+USE_TEX= tetex
NO_BUILD= yes
NO_WRKSUBDIR= yes
diff --git a/print/latex-acm/Makefile b/print/latex-acm/Makefile
index 9d1589cb5187..06e275d51961 100644
--- a/print/latex-acm/Makefile
+++ b/print/latex-acm/Makefile
@@ -16,12 +16,8 @@ DISTFILES= acm-small-v1-1.zip \
MAINTAINER= rea@FreeBSD.org
COMMENT= LaTeX styles for ACM journals
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
USE_ZIP= yes
+USE_TEX= tetex
NO_BUILD= yes
TEXMFLOCAL= share/texmf-local
diff --git a/print/latex-arydshln/Makefile b/print/latex-arydshln/Makefile
index a529690e6c04..f18caa958eb2 100644
--- a/print/latex-arydshln/Makefile
+++ b/print/latex-arydshln/Makefile
@@ -17,11 +17,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that draws dash-lines in array/tabular
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
+USE_TEX= tetex
PLIST= ${WRKDIR}/pkg-plist
TEXMFLOCAL= share/texmf-local
diff --git a/print/latex-auto-greek/Makefile b/print/latex-auto-greek/Makefile
index ea199ca07647..90dc294ee8f1 100644
--- a/print/latex-auto-greek/Makefile
+++ b/print/latex-auto-greek/Makefile
@@ -13,11 +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
-BUILD_DEPENDS= updmap-sys:${PORTSDIR}/print/teTeX-base \
- mktexlsr:${PORTSDIR}/print/teTeX-base \
- fmtutil-sys:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
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 84f97eee3348..24beba4e5f42 100644
--- a/print/latex-beamer/Makefile
+++ b/print/latex-beamer/Makefile
@@ -9,10 +9,9 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX class to create a beamer presentation
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${LOCALBASE}/${TEXMFDIR}/tex/latex/pgf/basiclayer/pgf.sty:${PORTSDIR}/print/latex-pgf
+RUN_DEPENDS= ${LOCALBASE}/${TEXMFDIR}/tex/latex/pgf/basiclayer/pgf.sty:${PORTSDIR}/print/latex-pgf
+USE_TEX= tetex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-biblatex/Makefile b/print/latex-biblatex/Makefile
index a4b9d42de8b0..43c2cd07aa70 100644
--- a/print/latex-biblatex/Makefile
+++ b/print/latex-biblatex/Makefile
@@ -12,13 +12,10 @@ DISTNAME= ${PORTNAME}
MAINTAINER= idolum@users.sourceforge.net
COMMENT= Reimplementation of the LaTeX bibliographic facilities
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox
+RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox
USE_ZIP= YES
+USE_TEX= tetex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-biblist/Makefile b/print/latex-biblist/Makefile
index a286ef69626d..c5f11d268c3e 100644
--- a/print/latex-biblist/Makefile
+++ b/print/latex-biblist/Makefile
@@ -17,11 +17,7 @@ EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for printing all of a BibTeX database entries
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
+USE_TEX= tetex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-bytefield/Makefile b/print/latex-bytefield/Makefile
index b50f01ac1216..7f0f65139ee4 100644
--- a/print/latex-bytefield/Makefile
+++ b/print/latex-bytefield/Makefile
@@ -16,9 +16,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that utilization diagram of data fields
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
diff --git a/print/latex-caption/Makefile b/print/latex-caption/Makefile
index ae405a3f7973..d22c34976753 100644
--- a/print/latex-caption/Makefile
+++ b/print/latex-caption/Makefile
@@ -17,11 +17,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that supports customization of captions
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal
-
+USE_TEX= tetex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
TEXMFDIR=${TEXMFDIR}
diff --git a/print/latex-chapterfolder/Makefile b/print/latex-chapterfolder/Makefile
index b3f88368c6e4..39460b0094de 100644
--- a/print/latex-chapterfolder/Makefile
+++ b/print/latex-chapterfolder/Makefile
@@ -18,11 +18,7 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that ties section structures and folders
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal
-
+USE_TEX= tetex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
TEXMFDIR=${TEXMFDIR}
diff --git a/print/latex-circ/Makefile b/print/latex-circ/Makefile
index ea46895bfaba..e46e346c3ba6 100644
--- a/print/latex-circ/Makefile
+++ b/print/latex-circ/Makefile
@@ -17,12 +17,8 @@ DISTNAME= ${PORTNAME}
MAINTAINER= nivit@FreeBSD.org
COMMENT= A LaTeX package for typesetting circuit diagrams
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
USE_ZIP= yes
+USE_TEX= tetex
# 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 76495bb3508c..5eea525f71b4 100644
--- a/print/latex-cjk/Makefile
+++ b/print/latex-cjk/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= rafan@FreeBSD.org
COMMENT= A LaTeX2e macro package which enables the use of CJK scripts
RUN_DEPENDS= zh-arphicttf>=0:${PORTSDIR}/chinese/arphicttf \
- teTeX>=0:${PORTSDIR}/print/teTeX \
ttf2pk:${PORTSDIR}/print/freetype-tools
BUILD_DEPENDS:= ${RUN_DEPENDS} \
${LOCALBASE}/share/ttf2pt1/maps/cugb.map:${PORTSDIR}/chinese/ttf2pt1 \
@@ -22,6 +21,7 @@ BUILD_DEPENDS:= ${RUN_DEPENDS} \
LIB_DEPENDS= ttf:${PORTSDIR}/print/freetype
USE_GMAKE= yes
+USE_TEX= tetex
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 42deac3598b9..6132ddf4696e 100644
--- a/print/latex-csquotes/Makefile
+++ b/print/latex-csquotes/Makefile
@@ -15,13 +15,10 @@ DISTNAME= ${PORTNAME}
MAINTAINER= idolum@users.sourceforge.net
COMMENT= Context sensitive quotation facilities
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox
+RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox
USE_ZIP= YES
+USE_TEX= tetex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-etoolbox/Makefile b/print/latex-etoolbox/Makefile
index ccb7bb6e9a1b..625f2b657275 100644
--- a/print/latex-etoolbox/Makefile
+++ b/print/latex-etoolbox/Makefile
@@ -13,12 +13,8 @@ DIST_SUBDIR= ${PORTNAME}/${DISTVERSION}
MAINTAINER= idolum@users.sourceforge.net
COMMENT= A toolbox providing programming facilities for LaTeX
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
USE_ZIP= YES
+USE_TEX= tetex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-feynmf/Makefile b/print/latex-feynmf/Makefile
index 24ed314e7a44..143b2d93a9b0 100644
--- a/print/latex-feynmf/Makefile
+++ b/print/latex-feynmf/Makefile
@@ -19,9 +19,7 @@ EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for drawing of Feynman diagrams
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
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 a202f227651a..e876492102f5 100644
--- a/print/latex-keystroke/Makefile
+++ b/print/latex-keystroke/Makefile
@@ -17,11 +17,7 @@ EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for the graphical representation of the keys
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
+USE_TEX= tetex
NO_BUILD= YES
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
diff --git a/print/latex-logpap/Makefile b/print/latex-logpap/Makefile
index a59721e1b038..29597a1f6cb7 100644
--- a/print/latex-logpap/Makefile
+++ b/print/latex-logpap/Makefile
@@ -17,14 +17,10 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for drawing logarithmic graph paper
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
+USE_TEX= tetex
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 f34d07bd5825..0e2153aac13f 100644
--- a/print/latex-logreq/Makefile
+++ b/print/latex-logreq/Makefile
@@ -15,13 +15,10 @@ DISTNAME= ${PORTNAME}
MAINTAINER= idolum@users.sourceforge.net
COMMENT= Support for automation of the LaTeX workflow
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox
+RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox
USE_ZIP= YES
+USE_TEX= tetex
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
diff --git a/print/latex-ltablex/Makefile b/print/latex-ltablex/Makefile
index 4a9e42490d27..0975a9116e8b 100644
--- a/print/latex-ltablex/Makefile
+++ b/print/latex-ltablex/Makefile
@@ -17,10 +17,8 @@ DIST_SUBDIR= latex
MAINTAINER= rakuco@FreeBSD.org
COMMENT= Combines the features of both the tabularx and longtable packages
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
USE_ZIP= YES
+USE_TEX= tetex
NO_BUILD= YES
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR} \
diff --git a/print/latex-mathabx/Makefile b/print/latex-mathabx/Makefile
index 6994abdd96d2..6beeaafcd93b 100644
--- a/print/latex-mathabx/Makefile
+++ b/print/latex-mathabx/Makefile
@@ -14,12 +14,8 @@ DISTFILES= mathabx${EXTRACT_SUFX} abxtype1${EXTRACT_SUFX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Math series, aka mathabx MetaFont fontset for TeX/LaTeX
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
USE_ZIP= YES
+USE_TEX= tetex
NO_BUILD= YES
PLIST_SUB= TEXMFLOCALDIR=${TEXMFLOCALDIR} \
MKTEXLSR=${MKTEXLSR} \
diff --git a/print/latex-nomencl/Makefile b/print/latex-nomencl/Makefile
index e4f46874c692..ee1e9aa5d07d 100644
--- a/print/latex-nomencl/Makefile
+++ b/print/latex-nomencl/Makefile
@@ -18,11 +18,7 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package to generate a nomenclature using MakeIndex
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal
-
+USE_TEX= tetex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
TEXMFDIR=${TEXMFDIR}
diff --git a/print/latex-pgf/Makefile b/print/latex-pgf/Makefile
index 71ae27f5d618..0b20d06fd261 100644
--- a/print/latex-pgf/Makefile
+++ b/print/latex-pgf/Makefile
@@ -14,11 +14,9 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}.tds
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for TeX Portable Graphic Format
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
NO_BUILD= YES
USE_ZIP= YES
+USE_TEX= tetex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR} \
TEXMFDIR=${TEXMFDIR}
diff --git a/print/latex-prettyref/Makefile b/print/latex-prettyref/Makefile
index eca78ee9c4b5..2adebbaee554 100644
--- a/print/latex-prettyref/Makefile
+++ b/print/latex-prettyref/Makefile
@@ -17,10 +17,8 @@ DIST_SUBDIR= latex
MAINTAINER= yokota@res.otaru-uc.ac.jp
COMMENT= Improved reference formatting for LaTeX2e
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
USE_ZIP= yes
+USE_TEX= tetex
PLIST_SUB= MKTEXLSR=${MKTEXLSR}
TEXMFDIR?= share/texmf
diff --git a/print/latex-resume/Makefile b/print/latex-resume/Makefile
index bdce89ad2207..6b3fbef2823b 100644
--- a/print/latex-resume/Makefile
+++ b/print/latex-resume/Makefile
@@ -19,9 +19,7 @@ DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A resume class for LaTeX
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
NO_BUILD= yes
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
diff --git a/print/latex-subfloat/Makefile b/print/latex-subfloat/Makefile
index 31e91329cfa2..f17aa94023d5 100644
--- a/print/latex-subfloat/Makefile
+++ b/print/latex-subfloat/Makefile
@@ -16,11 +16,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that enables subnumbering of different floats
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
+USE_TEX= tetex
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
diff --git a/print/latex-supertabular/Makefile b/print/latex-supertabular/Makefile
index 9d6756103fbb..d18d03ac2eba 100644
--- a/print/latex-supertabular/Makefile
+++ b/print/latex-supertabular/Makefile
@@ -16,11 +16,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= niedbalski@gmail.com
COMMENT= A LaTeX package for a tabular that spans multiple pages
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
+USE_TEX= tetex
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
USE_GMAKE= yes
diff --git a/print/latex-svninfo/Makefile b/print/latex-svninfo/Makefile
index 309d008baf44..a05e0236326a 100644
--- a/print/latex-svninfo/Makefile
+++ b/print/latex-svninfo/Makefile
@@ -16,11 +16,7 @@ PKGNAMEPREFIX= latex-
MAINTAINER= brix@FreeBSD.org
COMMENT= A LaTeX package for Subversion support
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-
+USE_TEX= tetex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
TEXMFLOCAL= share/texmf-local
diff --git a/print/latex-timing/Makefile b/print/latex-timing/Makefile
index 6f2379c01c65..623f66d7439c 100644
--- a/print/latex-timing/Makefile
+++ b/print/latex-timing/Makefile
@@ -17,9 +17,7 @@ EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for drawing timing diagrams
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
NO_BUILD= YES
PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR} \
diff --git a/print/latex-tipa/Makefile b/print/latex-tipa/Makefile
index 785af2373342..deef5c58e925 100644
--- a/print/latex-tipa/Makefile
+++ b/print/latex-tipa/Makefile
@@ -15,9 +15,7 @@ DISTNAME= tipa-${PORTVERSION}
MAINTAINER= a.strich.b@web.de
COMMENT= Package which provides T3-encoded fonts to be used with LaTeX2e
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
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 4f36f68ab476..6523835d056f 100644
--- a/print/latex-ucs/Makefile
+++ b/print/latex-ucs/Makefile
@@ -16,13 +16,9 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for using UTF-8 as input encoding
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFDIR_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFDIR_LSR}:${PORTSDIR}/print/tex-texmflocal
-
NO_BUILD= yes
USE_PERL5_RUN= yes
+USE_TEX= tetex
PLIST_SUB= MKTEXLSR="${MKTEXLSR}" CLASSDIR=${CLASSDIR}
TEXMFDIR= share/texmf
diff --git a/print/latex2slides/Makefile b/print/latex2slides/Makefile
index 36661ec8776e..add01c781690 100644
--- a/print/latex2slides/Makefile
+++ b/print/latex2slides/Makefile
@@ -12,10 +12,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Produces a set of HTML/JPEG slides from a TeX or LaTeX source
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
- dvips:${PORTSDIR}/print/teTeX \
${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
USE_PYTHON= yes
+USE_TEX= tetex
NO_BUILD= yes
PLIST_SUB= PORTNAME="${PORTNAME}" PORTVERSION="${PORTVERSION}"
diff --git a/print/latexmk/Makefile b/print/latexmk/Makefile
index 1d78322e89c5..421dea609650 100644
--- a/print/latexmk/Makefile
+++ b/print/latexmk/Makefile
@@ -11,8 +11,6 @@ COMMENT= Tool to completely automate generating output from LaTeX documents
LICENSE= GPLv2 # (or later)
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
OPTIONS_DEFINE= DOCS EXAMPLES
NO_WRKSUBDIR= yes
@@ -20,6 +18,7 @@ NO_BUILD= yes
USE_ZIP= yes
USE_PERL5_RUN= yes
+USE_TEX= tetex
MAN1= latexmk.1
PORTDOCS= *
diff --git a/print/lgrind/Makefile b/print/lgrind/Makefile
index 72f80526831b..16ace8c72952 100644
--- a/print/lgrind/Makefile
+++ b/print/lgrind/Makefile
@@ -52,8 +52,7 @@ EXTRACT_ONLY= ${PORTNAME}.tar.gz
MAINTAINER= dereckson@gmail.com
COMMENT= Produce beautiful listings of source code with LaTeX
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+USE_TEX= tetex
MAN1= lgrind.1
MAN5= lgrindef.5
diff --git a/print/lilypond-devel/Makefile b/print/lilypond-devel/Makefile
index 5dad7c625654..f2cd22b07db0 100644
--- a/print/lilypond-devel/Makefile
+++ b/print/lilypond-devel/Makefile
@@ -10,8 +10,7 @@ PKGNAMESUFFIX= -devel
MAINTAINER= gahr@FreeBSD.org
COMMENT= The GNU music typesetter
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- pdftexi2dvi:${PORTSDIR}/print/texinfo \
+BUILD_DEPENDS= pdftexi2dvi:${PORTSDIR}/print/texinfo \
t1ascii:${PORTSDIR}/print/t1utils \
bash:${PORTSDIR}/shells/bash \
fontforge:${PORTSDIR}/print/fontforge \
@@ -21,8 +20,7 @@ LIB_DEPENDS= guile:${PORTSDIR}/lang/guile \
gmp:${PORTSDIR}/math/gmp \
freetype:${PORTSDIR}/print/freetype2
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- dblatex:${PORTSDIR}/textproc/dblatex \
+RUN_DEPENDS= dblatex:${PORTSDIR}/textproc/dblatex \
mftrace:${PORTSDIR}/print/mftrace \
pngtopnm:${PORTSDIR}/graphics/netpbm \
convert:${PORTSDIR}/graphics/ImageMagick \
@@ -50,6 +48,7 @@ USE_GMAKE= yes
USE_GHOSTSCRIPT=9
USE_PYTHON= yes
USE_PERL5_BUILD=yes
+USE_TEX= tetex
USE_GNOME= pango
MAKEFILE= GNUmakefile
diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile
index 384e45c857bd..c3fa634323b5 100644
--- a/print/lilypond/Makefile
+++ b/print/lilypond/Makefile
@@ -9,8 +9,7 @@ MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v${PORTVERSION:R}/
MAINTAINER= gahr@FreeBSD.org
COMMENT= The GNU music typesetter
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- pdftexi2dvi:${PORTSDIR}/print/texinfo \
+BUILD_DEPENDS= pdftexi2dvi:${PORTSDIR}/print/texinfo \
t1ascii:${PORTSDIR}/print/t1utils \
bash:${PORTSDIR}/shells/bash \
fontforge:${PORTSDIR}/print/fontforge \
@@ -20,8 +19,7 @@ LIB_DEPENDS= guile:${PORTSDIR}/lang/guile \
gmp:${PORTSDIR}/math/gmp \
freetype:${PORTSDIR}/print/freetype2
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- mftrace:${PORTSDIR}/print/mftrace \
+RUN_DEPENDS= mftrace:${PORTSDIR}/print/mftrace \
${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans-Bold.ttf:${PORTSDIR}/x11-fonts/dejavu
MAN1= lilymidi.1 lilypond-book.1 lilypond-invoke-editor.1 \
@@ -44,6 +42,7 @@ INFO= lilypond-notation \
USES= bison:build gettext
USE_GMAKE= yes
USE_GHOSTSCRIPT=9
+USE_TEX= tetex
USE_PYTHON= yes
USE_PERL5_BUILD=yes
USE_GNOME= pango
diff --git a/print/mftrace/Makefile b/print/mftrace/Makefile
index e49a0a348244..3eb699bbc363 100644
--- a/print/mftrace/Makefile
+++ b/print/mftrace/Makefile
@@ -16,8 +16,7 @@ MASTER_SITES= http://lilypond.org/download/sources/mftrace/ \
MAINTAINER= nivit@FreeBSD.org
COMMENT= Scalable PostScript (Type1) Fonts for MetaFont
-RUN_DEPENDS= mktextfm:${PORTSDIR}/print/teTeX \
- t1asm:${PORTSDIR}/print/t1utils \
+RUN_DEPENDS= t1asm:${PORTSDIR}/print/t1utils \
fontforge:${PORTSDIR}/print/fontforge
.if defined(WITH_AUTOTRACE)
@@ -30,6 +29,7 @@ RUN_DEPENDS+= potrace:${PORTSDIR}/graphics/potrace
# Python3 ready
USE_PYTHON= yes
+USE_TEX= tetex
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
diff --git a/print/muttprint/Makefile b/print/muttprint/Makefile
index 5e76adb9c21f..a02a5b152572 100644
--- a/print/muttprint/Makefile
+++ b/print/muttprint/Makefile
@@ -16,8 +16,7 @@ USE_PERL5= yes
PAPERSIZE= letter
.endif
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
- psnup:${PORTSDIR}/print/psutils \
+RUN_DEPENDS= psnup:${PORTSDIR}/print/psutils \
uncompface:${PORTSDIR}/mail/faces \
convert:${PORTSDIR}/graphics/ImageMagick \
p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
@@ -31,6 +30,7 @@ NO_BUILD= yes
PLIST_SUB+= LANGINFO="@comment "
REINPLACE_ARGS= -i ""
+USE_TEX= tetex
USE_GMAKE= yes
MAN1= muttprint.1
diff --git a/print/pdfjam/Makefile b/print/pdfjam/Makefile
index 1a1c1c9702a8..03ee1ad81e94 100644
--- a/print/pdfjam/Makefile
+++ b/print/pdfjam/Makefile
@@ -15,8 +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
-RUN_DEPENDS= pdflatex:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
WRKSRC= ${WRKDIR}/${PORTNAME}
PROGS= pdf90 pdf180 pdf270 pdfbook pdfflip pdfjam \
diff --git a/print/py-pyscript/Makefile b/print/py-pyscript/Makefile
index ecba1c34d96f..26c40e07cce5 100644
--- a/print/py-pyscript/Makefile
+++ b/print/py-pyscript/Makefile
@@ -15,11 +15,11 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python module for producing high quality PostScript graphics
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- dvips:${PORTSDIR}/print/dvipsk-tetex
+RUN_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_TEX= tetex
DATADIR= ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
diff --git a/print/sgf2tex/Makefile b/print/sgf2tex/Makefile
index da655ce8398b..76c8bd50ab4a 100644
--- a/print/sgf2tex/Makefile
+++ b/print/sgf2tex/Makefile
@@ -14,9 +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
-BUILD_DEPENDS= ${TEX_BIN}:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= ${TEX_BIN}:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
PLIST_SUB= MKTEXLSR=${MKTEXLSR}
MAKE_ENV= TEX_BIN=${TEX_BIN}
diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile
index a6a406193802..b0206c206d9b 100644
--- a/print/teTeX/Makefile
+++ b/print/teTeX/Makefile
@@ -12,12 +12,10 @@ EXTRACT_ONLY= # empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A meta port for teTeX suite
-RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- latex:${PORTSDIR}/print/teTeX-base \
- ${LOCALBASE}/share/fonts/cm-super/README:${PORTSDIR}/print/cm-super \
+RUN_DEPENDS= ${LOCALBASE}/share/fonts/cm-super/README:${PORTSDIR}/print/cm-super \
dvips:${PORTSDIR}/print/dvipsk-tetex
+USE_TEX= tetex
OPTIONS_DEFINE= LETTERSIZE X11
LETTERSIZE_DESC= Use letter size by default
diff --git a/print/tex-mfpic/Makefile b/print/tex-mfpic/Makefile
index 7f9cd1f4128c..93caf4f1011a 100644
--- a/print/tex-mfpic/Makefile
+++ b/print/tex-mfpic/Makefile
@@ -16,12 +16,8 @@ DIST_SUBDIR= teTeX
MAINTAINER= hrs@FreeBSD.org
COMMENT= A TeX package that supports drawing pictures
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal
-
USE_ZIP= yes
+USE_TEX= tetex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
TEXMFDIR=${TEXMFDIR}
TEXMFDIR= share/texmf
diff --git a/print/tex-omegaware-old/Makefile b/print/tex-omegaware-old/Makefile
index a9494128343e..8522d94a53f0 100644
--- a/print/tex-omegaware-old/Makefile
+++ b/print/tex-omegaware-old/Makefile
@@ -16,8 +16,7 @@ EXTRACT_ONLY= ${TETEX_SRC}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Old version of ovf2ovp, ovp2ovf, ofm2opl, and opl2ofm
-BUILD_DEPENDS= tangle:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
DIST_SUBDIR= teTeX
WRKSRC= ${WRKDIR}/tetex-src-${PORTVERSION}/texk/web2c
CONFIGURE_WRKSRC= ${WRKDIR}/tetex-src-${PORTVERSION}
diff --git a/print/texpower/Makefile b/print/texpower/Makefile
index b77ed18a192b..3de6b3328d56 100644
--- a/print/texpower/Makefile
+++ b/print/texpower/Makefile
@@ -17,9 +17,7 @@ DISTNAME= ${PORTNAME}-0-2
MAINTAINER= hrs@FreeBSD.org
COMMENT= Creating dynamic online presentations with LaTeX
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} \
MKTEXLSR=${MKTEXLSR}
diff --git a/print/texvc/Makefile b/print/texvc/Makefile
index b42599d107e0..83d040a403a4 100644
--- a/print/texvc/Makefile
+++ b/print/texvc/Makefile
@@ -30,8 +30,8 @@ RASTER_DESC= rasterization support
.if ${PORT_OPTIONS:MRASTER}
USE_GHOSTSCRIPT_RUN= yes
-RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
- dvips:${PORTSDIR}/print/dvipsk-tetex \
+USE_TEX= tetex
+RUN_DEPENDS+= dvips:${PORTSDIR}/print/dvipsk-tetex \
convert:${PORTSDIR}/graphics/ImageMagick
.endif
diff --git a/print/typetools/Makefile b/print/typetools/Makefile
index 83732f9882ac..2c8659e335c0 100644
--- a/print/typetools/Makefile
+++ b/print/typetools/Makefile
@@ -12,8 +12,7 @@ COMMENT= Tools for manipulating fonts
LICENSE= GPLv2
-BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
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 ac7814ac4d3f..e2408d700c8c 100644
--- a/print/xdvik/Makefile
+++ b/print/xdvik/Makefile
@@ -5,21 +5,17 @@ PORTNAME= xdvik
PORTVERSION= 22.84.16
PORTREVISION= 5
CATEGORIES= print
-MASTER_SITES= SF/xdvi/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SF/hoge
+#/xdvi/${PORTNAME}/${PORTVERSION}
PKGNAMESUFFIX= -tetex
MAINTAINER= hrs@FreeBSD.org
COMMENT= DVI Previewer(kpathsearch) for X
-BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- mktexlsr:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib
USE_GMAKE= yes
+USE_TEX= tetex
USE_MOTIF= yes
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
diff --git a/print/xmltex/Makefile b/print/xmltex/Makefile
index d2df86a84176..0c2bedfcf799 100644
--- a/print/xmltex/Makefile
+++ b/print/xmltex/Makefile
@@ -18,13 +18,9 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A non-validating XML parser, written in TeX
-BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- latex:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
-RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
- latex:${PORTSDIR}/print/teTeX-base
+
+USE_TEX= tetex
.include <bsd.port.pre.mk>
diff --git a/print/xtexsh/Makefile b/print/xtexsh/Makefile
index 1fefa9829325..e6152aae31fb 100644
--- a/print/xtexsh/Makefile
+++ b/print/xtexsh/Makefile
@@ -15,14 +15,13 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tcl/Tk-based simple TeX interface
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
NO_BUILD= yes
+USE_TEX= tetex
USE_TK_WRAPPER= yes
INSTALLS_ICONS= yes
MAN1= xtexsh.1
diff --git a/russian/pscyr/Makefile b/russian/pscyr/Makefile
index fe44368e7353..917eeb2044db 100644
--- a/russian/pscyr/Makefile
+++ b/russian/pscyr/Makefile
@@ -18,9 +18,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION:S/${PATCH_LEVEL}$/-patch&/}-tex.tar.gz \
MAINTAINER= ports@FreeBSD.org
COMMENT= Cyrillic PostScript Type1 fonts for use with TeX
-RUN_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-# no other TeX is sufficient
-
+USE_TEX= tetex
NO_WRKSUBDIR= yes
NO_BUILD= yes
MAKE_ENV= TEXMFDIR=${LOCALBASE}/share/texmf
diff --git a/science/abinit/Makefile b/science/abinit/Makefile
index 08b77e10cb0f..ee9d45060dd0 100644
--- a/science/abinit/Makefile
+++ b/science/abinit/Makefile
@@ -32,8 +32,8 @@ CONFIGURE_ARGS= --disable-wannier90 --disable-bigdft --disable-etsf-io \
ALL_TARGET= all libabinit
.if !defined(NOPORTDOCS)
-BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
- dvips:${PORTSDIR}/print/dvipsk-tetex \
+USE_TEX= tetex
+BUILD_DEPENDS+= dvips:${PORTSDIR}/print/dvipsk-tetex \
gm4:${PORTSDIR}/devel/m4 \
markdown:${PORTSDIR}/textproc/markdown
USE_GHOSTSCRIPT_BUILD= yes
diff --git a/science/ecs/Makefile b/science/ecs/Makefile
index e0329ab199c6..064ac46f59fa 100644
--- a/science/ecs/Makefile
+++ b/science/ecs/Makefile
@@ -53,8 +53,8 @@ CONFIGURE_ARGS+= --enable-debug
.endif
.if !defined(NOPORTDOCS)
-BUILD_DEPENDS+= pdflatex:${PORTSDIR}/print/teTeX-base \
- fig2dev:${PORTSDIR}/print/transfig
+USE_TEX= tetex
+BUILD_DEPENDS+= fig2dev:${PORTSDIR}/print/transfig
PORTDOCS= mi_ecs.pdf mt_ecs.pdf
.endif
diff --git a/science/mpqc/Makefile b/science/mpqc/Makefile
index f899a3132e55..b9ee868e3316 100644
--- a/science/mpqc/Makefile
+++ b/science/mpqc/Makefile
@@ -42,9 +42,9 @@ LIB_DEPENDS+= mpich:${PORTSDIR}/net/mpich2
.endif
LIB_DEPENDS+= int.1:${PORTSDIR}/science/libint
.if !defined(NOPORTDOCS)
+USE_TEX= tetex
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
-BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base
BUILD_DEPENDS+= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed
LIB_DEPENDS+= execinfo.1:${PORTSDIR}/devel/libexecinfo
.endif
diff --git a/science/ncs/Makefile b/science/ncs/Makefile
index c3124031ebd5..b27677fc0b3d 100644
--- a/science/ncs/Makefile
+++ b/science/ncs/Makefile
@@ -78,8 +78,8 @@ MPI_LIBS= -lmpich -lmpl ${PTHREAD_LIBS}
.endif
.if !defined(NOPORTDOCS)
-BUILD_DEPENDS+= pdftex:${PORTSDIR}/print/teTeX-base \
- fig2dev:${PORTSDIR}/print/transfig
+USE_TEX= tetex
+BUILD_DEPENDS+= fig2dev:${PORTSDIR}/print/transfig
ALL_TARGET= all pdf
INSTALL_TARGET= install install-pdf
DOCS= AUTHORS COMPATIBILITY ChangeLog README
diff --git a/security/libtomcrypt/Makefile b/security/libtomcrypt/Makefile
index 5bc232d038e5..b7e9b11b3754 100644
--- a/security/libtomcrypt/Makefile
+++ b/security/libtomcrypt/Makefile
@@ -47,7 +47,7 @@ CFLAGS+= -DGMP_DESC
.endif
.if ${PORT_OPTIONS:MDOCS}
-BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX
+USE_TEX= tetex
PORTDOCS= *
.else
MAKE_ARGS+= NODOCS=yes
diff --git a/textproc/bibtool/Makefile b/textproc/bibtool/Makefile
index f1ef50ccd38b..36888919bfc6 100644
--- a/textproc/bibtool/Makefile
+++ b/textproc/bibtool/Makefile
@@ -16,8 +16,7 @@ DISTNAME= BibTool-${PORTVERSION}
MAINTAINER= rafan@FreeBSD.org
COMMENT= Command line manipulation of BibTeX files
-BUILD_DEPENDS= ${LOCALBASE}/include/kpathsea/tex-file.h:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-kpathsea
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
diff --git a/textproc/dblatex/Makefile b/textproc/dblatex/Makefile
index 24aaa80e12a4..cce02efa8ad3 100644
--- a/textproc/dblatex/Makefile
+++ b/textproc/dblatex/Makefile
@@ -16,10 +16,10 @@ COMMENT= DocBook to LaTeX/ConTeXt Publishing
BUILD_DEPENDS= ${LOCALBASE}/share/texmf-local/tex/latex/ifxetex/ifxetex.sty:${PORTSDIR}/print/ifxetex
RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
- ${LOCALBASE}/share/xml/docbook/4.2/docbook.cat:${PORTSDIR}/textproc/docbook-xml \
- etex:${PORTSDIR}/print/teTeX-base
+ ${LOCALBASE}/share/xml/docbook/4.2/docbook.cat:${PORTSDIR}/textproc/docbook-xml
USE_BZIP2= yes
+USE_TEX= tetex
USE_PYTHON= 2.5+
USE_PYDISTUTILS=yes
PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} \
diff --git a/textproc/ecromedos/Makefile b/textproc/ecromedos/Makefile
index a3ea2aed748b..e9f938838a58 100644
--- a/textproc/ecromedos/Makefile
+++ b/textproc/ecromedos/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= nivit@FreeBSD.org
COMMENT= A document preparation system that allows concurrent publication
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
- latex:${PORTSDIR}/print/teTeX \
${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
@@ -23,6 +22,7 @@ LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
NO_BUILD= yes
USE_PYTHON= yes
+USE_TEX= tetex
FIND_DIRS= -type d
FIND_DATA= -type f -not \( -name "*.orig" -or -name "*.bak" \)
diff --git a/textproc/eqe/Makefile b/textproc/eqe/Makefile
index 100d206778a4..7ab8df49b3a8 100644
--- a/textproc/eqe/Makefile
+++ b/textproc/eqe/Makefile
@@ -16,12 +16,11 @@ COMMENT= LaTeX equation editor
BUILD_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp \
p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
- Magick++-config:${PORTSDIR}/graphics/ImageMagick \
- tex:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX-base
+ Magick++-config:${PORTSDIR}/graphics/ImageMagick
USE_BZIP2= yes
USE_PERL5= yes
+USE_TEX= tetex
MAKE_ARGS= PREFIX=${PREFIX}
diff --git a/textproc/foiltex/Makefile b/textproc/foiltex/Makefile
index 83abd502c7a3..cb9512367dc9 100644
--- a/textproc/foiltex/Makefile
+++ b/textproc/foiltex/Makefile
@@ -16,11 +16,9 @@ DISTFILES= foiltex.dtx foiltex.ins
MAINTAINER= ports@FreeBSD.org
COMMENT= A collection of LaTeX files for making foils
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
NO_CDROM= redistribution on a not-for-profit basis only
+USE_TEX= tetex
NO_WRKSUBDIR= yes
LATEX_CMD= ${LOCALBASE}/bin/latex
diff --git a/textproc/gastex/Makefile b/textproc/gastex/Makefile
index 7cd27e47f3f0..f8e333d66cda 100644
--- a/textproc/gastex/Makefile
+++ b/textproc/gastex/Makefile
@@ -17,9 +17,7 @@ EXTRACT_ONLY= #
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphs and Automata Simplified in TeX
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
+USE_TEX= tetex
NO_BUILD= yes
TEXMFDIR?= share/texmf
diff --git a/textproc/gladtex/Makefile b/textproc/gladtex/Makefile
index 2498342a0222..0593e143a51d 100644
--- a/textproc/gladtex/Makefile
+++ b/textproc/gladtex/Makefile
@@ -15,9 +15,9 @@ LICENSE= GPLv2
LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \
png15:${PORTSDIR}/graphics/png
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
- dvips:${PORTSDIR}/print/dvipsk-tetex
+RUN_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex
+USE_TEX= tetex
BINPATH= ${PREFIX}/bin
INCPATH= "-I${LOCALBASE}/include"
LIBPATH= "-L${LOCALBASE}/lib"
diff --git a/textproc/hs-lhs2tex/Makefile b/textproc/hs-lhs2tex/Makefile
index 491839373a44..c2686f0b71cf 100644
--- a/textproc/hs-lhs2tex/Makefile
+++ b/textproc/hs-lhs2tex/Makefile
@@ -13,9 +13,7 @@ LICENSE= GPLv2
CABAL_SETUP= Setup.hs
USE_CABAL= mtl regex-compat
-
-BUILD_DEPENDS+= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS+= mktexlsr:${PORTSDIR}/print/teTeX-base
+USE_TEX= tetex
STANDALONE= yes
EXECUTABLE= lhs2TeX
diff --git a/textproc/latex2html/Makefile b/textproc/latex2html/Makefile
index 2f6904352c04..461644a293cc 100644
--- a/textproc/latex2html/Makefile
+++ b/textproc/latex2html/Makefile
@@ -15,8 +15,7 @@ MASTER_SITE_SUBDIR= support/${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Convert LaTeX documents to HTML
-BUILD_DEPENDS= ${LOCALBASE}/bin/latex:${PORTSDIR}/print/teTeX-base \
- ${LOCALBASE}/bin/dvips:${PORTSDIR}/print/dvipsk-tetex \
+BUILD_DEPENDS= ${LOCALBASE}/bin/dvips:${PORTSDIR}/print/dvipsk-tetex \
${LOCALBASE}/bin/anytopnm:${PORTSDIR}/graphics/netpbm
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -24,6 +23,7 @@ CONFLICTS= ja-latex2html-[0-9]*
USE_PERL5= yes
USE_GHOSTSCRIPT= yes
+USE_TEX= tetex
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-perl=${PERL} \
--disable-gif \
diff --git a/textproc/metauml/Makefile b/textproc/metauml/Makefile
index da366a0430a6..035751714e70 100644
--- a/textproc/metauml/Makefile
+++ b/textproc/metauml/Makefile
@@ -21,12 +21,10 @@ EXTRACT_ONLY= ${PORTNAME}_lib_${PORTVERSION}.tgz lop-release.tgz
MAINTAINER= tota@FreeBSD.org
COMMENT= A MetaPost library for typesetting UML diagrams
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/thrunk/License
+USE_TEX= tetex
PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} MPDIR=${MPDIR}
TEXMFDIR= share/texmf
diff --git a/textproc/p5-LaTeX-Driver/Makefile b/textproc/p5-LaTeX-Driver/Makefile
index eb652a53deed..d9634dc76221 100644
--- a/textproc/p5-LaTeX-Driver/Makefile
+++ b/textproc/p5-LaTeX-Driver/Makefile
@@ -10,12 +10,12 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module of LaTeX Driver
-BUILD_DEPENDS= ${LOCALBASE}/bin/latex:${PORTSDIR}/print/teTeX-base \
- p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp \
+BUILD_DEPENDS= p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp \
p5-Exception-Class>=0:${PORTSDIR}/devel/p5-Exception-Class \
p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor
RUN_DEPENDS:= ${BUILD_DEPENDS}
+USE_TEX= tetex
PERL_CONFIGURE= yes
MAN1= latex2ps.1 latex2pdf.1 latex2dvi.1
diff --git a/textproc/ppower4/Makefile b/textproc/ppower4/Makefile
index 4f9f60594c43..f6153528b83f 100644
--- a/textproc/ppower4/Makefile
+++ b/textproc/ppower4/Makefile
@@ -14,10 +14,10 @@ EXTRACT_ONLY= pp4sty.zip leveldemo.zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Post processor for PDF presentations made with (La)TeX
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
- java:${PORTSDIR}/java/javavmwrapper
+RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_ZIP= yes
+USE_TEX= tetex
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
diff --git a/textproc/prosper/Makefile b/textproc/prosper/Makefile
index 4e6c3f01110c..b19b817917ab 100644
--- a/textproc/prosper/Makefile
+++ b/textproc/prosper/Makefile
@@ -17,11 +17,9 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= ports@FreeBSD.org
COMMENT= LaTeX class for writing transparencies
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
NO_BUILD= yes
USE_GHOSTSCRIPT_RUN= yes
+USE_TEX= tetex
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/textproc/rubber/Makefile b/textproc/rubber/Makefile
index 1f313b9b539e..a97bc9b54334 100644
--- a/textproc/rubber/Makefile
+++ b/textproc/rubber/Makefile
@@ -15,13 +15,12 @@ MASTER_SITES= http://launchpadlibrarian.net/53558954/
MAINTAINER= ports@FreeBSD.org
COMMENT= A wrapper for LaTeX and friends
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
-
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_PYTHON= 2.5+
USE_GMAKE= yes
+USE_TEX= tetex
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --infodir=${PREFIX}/${INFO_PATH} \
--datadir=${PYTHON_SITELIBDIR}
diff --git a/textproc/sgmltools-lite/Makefile b/textproc/sgmltools-lite/Makefile
index 06e685c3af74..2112a0c4523c 100644
--- a/textproc/sgmltools-lite/Makefile
+++ b/textproc/sgmltools-lite/Makefile
@@ -14,12 +14,12 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Generates various output formats from DocBook SGML documents
-BUILD_DEPENDS+= openjade:${PORTSDIR}/textproc/openjade \
- ${LOCALBASE}/share/texmf:${PORTSDIR}/print/teTeX
+BUILD_DEPENDS+= openjade:${PORTSDIR}/textproc/openjade
RUN_DEPENDS+= docbook<2:${PORTSDIR}/textproc/docbook \
${LOCALBASE}/share/sgml/docbook/dsssl:${PORTSDIR}/textproc/dsssl-docbook-modular
USE_PYTHON_BUILD= yes
+USE_TEX= tetex
MAN1= sgmltools-lite.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-etcsgml=${PREFIX}/etc/sgml --datadir=${PREFIX}/share
diff --git a/textproc/sowing/Makefile b/textproc/sowing/Makefile
index 93030e00c0b5..60ca0ccda63e 100644
--- a/textproc/sowing/Makefile
+++ b/textproc/sowing/Makefile
@@ -14,14 +14,14 @@ MASTER_SITES= http://ftp.mcs.anl.gov/pub/sowing/
MAINTAINER= ports@FreeBSD.org
COMMENT= Text processing tools to generate documentation from source files
-BUILD_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm \
- latex:${PORTSDIR}/print/teTeX-base
+BUILD_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm \
dvips:${PORTSDIR}/print/dvipsk-tetex
USE_PERL5= yes
USE_GHOSTSCRIPT=yes
USE_GMAKE= yes
+USE_TEX= tetex
GNU_CONFIGURE= yes
CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
CONFIGURE_ARGS= --datadir=${DATADIR}
diff --git a/textproc/tex2im/Makefile b/textproc/tex2im/Makefile
index ef30c198bd80..57152e78e946 100644
--- a/textproc/tex2im/Makefile
+++ b/textproc/tex2im/Makefile
@@ -16,9 +16,9 @@ MAINTAINER= turutani@scphys.kyoto-u.ac.jp
COMMENT= Converts LaTeX formulas into high resolution pixmap graphics
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
- latex:${PORTSDIR}/print/teTeX-base \
bash:${PORTSDIR}/shells/bash
+USE_TEX= tetex
NO_BUILD= yes
PLIST_FILES= bin/tex2im
PORTEXAMPLES= example1.png example1.tex example2.png example2.tex \
diff --git a/textproc/textogif/Makefile b/textproc/textogif/Makefile
index dee6b15af1f6..c18c4ce67a40 100644
--- a/textproc/textogif/Makefile
+++ b/textproc/textogif/Makefile
@@ -16,11 +16,11 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= nivit@FreeBSD.org
COMMENT= A Perl script to convert LaTeX formulas into GIFs
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
- dvips:${PORTSDIR}/print/dvipsk-tetex \
+RUN_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
ppmtogif:${PORTSDIR}/graphics/netpbm
NO_BUILD= yes
+USE_TEX= tetex
USE_PERL5_RUN= yes
do-install:
diff --git a/textproc/tth/Makefile b/textproc/tth/Makefile
index d4dd3f187654..dd60cf4bf39f 100644
--- a/textproc/tth/Makefile
+++ b/textproc/tth/Makefile
@@ -17,10 +17,10 @@ EXTRACT_SUFX= .tgz
MAINTAINER= lx@FreeBSD.org
COMMENT= A TeX to HTML translator
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
- ppmtogif:${PORTSDIR}/graphics/netpbm
+RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
USE_GHOSTSCRIPT_RUN= yes
+USE_TEX= tetex
MAN1= tth.1
diff --git a/textproc/yodl/Makefile b/textproc/yodl/Makefile
index d5b3f9de64ef..4943bb1a42a6 100644
--- a/textproc/yodl/Makefile
+++ b/textproc/yodl/Makefile
@@ -41,8 +41,7 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.if !defined(NOPORTDOCS)
-BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
- dvips:${PORTSDIR}/print/dvipsk-tetex
+USE_TEX= tetex
.endif
post-patch:
diff --git a/vietnamese/vntex/Makefile b/vietnamese/vntex/Makefile
index 455372482619..880aaac0feb3 100644
--- a/vietnamese/vntex/Makefile
+++ b/vietnamese/vntex/Makefile
@@ -16,10 +16,8 @@ DISTNAME= vntex
MAINTAINER= obrien@FreeBSD.org
COMMENT= teTeX Vietnamese language + font support
-# actually just need to make sure ${PREFIX}/share/texmf/tex/ exists
-RUN_DEPENDS= ${LOCALBASE}/share/texmf/tex/plain:${PORTSDIR}/print/teTeX
-
USE_ZIP= yes
+USE_TEX= tetex
NO_BUILD= yes
do-install:
diff --git a/www/trac-math/Makefile b/www/trac-math/Makefile
index f7d18036669e..46a3e6b43777 100644
--- a/www/trac-math/Makefile
+++ b/www/trac-math/Makefile
@@ -11,9 +11,9 @@ PKGNAMEPREFIX= trac-
MAINTAINER= ports@FreeBSD.org
COMMENT= Support for LaTeX math formulas in wiki pages
-RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
- latex:${PORTSDIR}/print/teTeX-base
+RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
+USE_TEX= tetex
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
diff --git a/www/twiki-MathModePlugin/Makefile b/www/twiki-MathModePlugin/Makefile
index 515d56d3568e..bd991d3319ea 100644
--- a/www/twiki-MathModePlugin/Makefile
+++ b/www/twiki-MathModePlugin/Makefile
@@ -8,9 +8,9 @@ MASTER_SITES= http://protey.ru/freebsd/distfiles/ \
COMMENT= Include LaTeX formatted math in your TWiki pages
-RUN_DEPENDS= dvipng:${PORTSDIR}/print/teTeX-base \
- latex:${PORTSDIR}/print/teTeX-base \
- convert:${PORTSDIR}/graphics/ImageMagick
+RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
+
+USE_TEX= tetex
post-patch:
${REINPLACE_CMD} -i '' -e 's!=/usr/bin!=${LOCALBASE}/bin!g; s!=/bin!=/usr/bin!g;' \