1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Fix WITHOUT_X11 support.

This commit is contained in:
Hiroki Sato 2006-07-18 18:53:59 +00:00
parent 804ff75f0a
commit 1a18abe5f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168162
2 changed files with 12 additions and 7 deletions

View File

@ -20,9 +20,11 @@ RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
tex:${PORTSDIR}/print/teTeX-base \
ptex:${PORTSDIR}/japanese/ptex-tetex \
dvips:${PORTSDIR}/japanese/dvipsk \
xdvi:${PORTSDIR}/japanese/xdvik \
jtex:${PORTSDIR}/japanese/texfamily \
${JTEXVF}:${PORTSDIR}/japanese/texfamily-vfn2a
.if !defined(WITHOUT_X11)
RUN_DEPENDS+= xdvi:${PORTSDIR}/japanese/xdvik
.endif
JTEXVF= ${LOCALBASE}/share/texmf-local/fonts/vf/n2a/dmjsy5.vf
TEXMFLOCAL_LSR= ${LOCALBASE}/share/texmf-local/ls-R

View File

@ -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