aboutsummaryrefslogtreecommitdiffstats
path: root/print/teTeX
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-05-12 01:58:55 +0800
committerhrs <hrs@FreeBSD.org>2013-05-12 01:58:55 +0800
commit514b35c5ff85906bace4b99b5298bb03779d8082 (patch)
tree4e99b662e9edb02c504f73d22596ea702c0f3d31 /print/teTeX
parent3c5290d5fb12b9f59c755a169a5953b92bcd083d (diff)
downloadfreebsd-ports-gnome-514b35c5ff85906bace4b99b5298bb03779d8082.tar.gz
freebsd-ports-gnome-514b35c5ff85906bace4b99b5298bb03779d8082.tar.zst
freebsd-ports-gnome-514b35c5ff85906bace4b99b5298bb03779d8082.zip
Rectify USE_TEX to support both of teTeX and TeXLive.
TEX_DEFAULT: A knob to choose teTeX or TeXLive. One can specify in /etc/make.conf. USE_TEX: A knob for port developers. Valid keywords are listed in bsd.tex.mk.
Diffstat (limited to 'print/teTeX')
-rw-r--r--print/teTeX/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile
index b0206c206d9b..0cb7d12e4350 100644
--- a/print/teTeX/Makefile
+++ b/print/teTeX/Makefile
@@ -12,28 +12,22 @@ EXTRACT_ONLY= # empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A meta port for teTeX suite
-RUN_DEPENDS= ${LOCALBASE}/share/fonts/cm-super/README:${PORTSDIR}/print/cm-super \
- dvips:${PORTSDIR}/print/dvipsk-tetex
+RUN_DEPENDS= ${LOCALBASE}/share/fonts/cm-super/README:${PORTSDIR}/print/cm-super
-USE_TEX= tetex
+USE_TEX= base texmf dvipsk dvipdfmx
OPTIONS_DEFINE= LETTERSIZE X11
LETTERSIZE_DESC= Use letter size by default
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
-RUN_DEPENDS+= xdvi:${PORTSDIR}/print/xdvik
+USE_TEX+= xdvik
.endif
# XXX: We always build in batch mode to disable OPTIONS
# in print/teTeX-base.
DEPENDS_ARGS+= BATCH=yes
-CONFLICTS= latex2e-[0-9]* tex-[0-9]* dvips-[0-9]* xdvi-[0-9]* \
- texlive-[0-9]* tex-web2c-[0-9]* \
- tex-kpathsea-[0-9]* tex-xdvik-[0-9]* \
- tex-dvipsk-[0-9]* tex-dvipdfmx-[0-9]*
-
.if ${PORT_OPTIONS:MLETTERSIZE}
FLAVOR+= letter
DEPENDS_ARGS+= WITH_LETTERSIZE=true