aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2006-07-19 02:53:59 +0800
committerhrs <hrs@FreeBSD.org>2006-07-19 02:53:59 +0800
commit6b3c197f02907e6137b8ecebf2142c56175cb288 (patch)
tree35c8d5e951ffc29c3027b1786f26d7ae2e4a7a9a /print
parentee58bc0fd62a71b01ebf6ac4cd054b1a7cec477a (diff)
downloadfreebsd-ports-gnome-6b3c197f02907e6137b8ecebf2142c56175cb288.tar.gz
freebsd-ports-gnome-6b3c197f02907e6137b8ecebf2142c56175cb288.tar.zst
freebsd-ports-gnome-6b3c197f02907e6137b8ecebf2142c56175cb288.zip
Fix WITHOUT_X11 support.
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