aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2006-07-18 18:53:59 +0000
committerHiroki Sato <hrs@FreeBSD.org>2006-07-18 18:53:59 +0000
commit1a18abe5f662ddc6247ea8f905c1e6960d37db68 (patch)
treed9a4840ffc4c399f275832b1325ab1333aa2015a /print
parent804ff75f0a4dc06c9c689bb5dcabfb9ee0c28c3f (diff)
downloadports-1a18abe5f662ddc6247ea8f905c1e6960d37db68.tar.gz
ports-1a18abe5f662ddc6247ea8f905c1e6960d37db68.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/teTeX/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile
index c83e73004dc7..3202fc56c4c5 100644
--- a/print/teTeX/Makefile
+++ b/print/teTeX/Makefile
@@ -20,19 +20,22 @@ 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 \
- dvips:${PORTSDIR}/print/dvipsk-tetex \
- xdvi:${PORTSDIR}/print/xdvik
+ dvips:${PORTSDIR}/print/dvipsk-tetex
+
+OPTIONS= LETTERSIZE "Use letter size by default" off
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_X11)
+RUN_DEPENDS+= xdvi:${PORTSDIR}/print/xdvik
+.endif
# XXX: We always build in batch mode to disable OPTIONS
# in print/teTeX-base.
DEPENDS_ARGS+= BATCH=yes
-OPTIONS= LETTERSIZE "Use letter size by default" off
-
CONFLICTS= latex2e-[0-9]* tex-[0-9]* dvips-[0-9]* xdvi-[0-9]*
-.include <bsd.port.pre.mk>
-
.if defined(WITH_LETTERSIZE)
FLAVOR+= letter
DEPENDS_ARGS+= WITH_LETTERSIZE=true