1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/print/teTeX/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

62 lines
1.3 KiB
Makefile

# New ports collection makefile for: teTeX
# Date created: 5 December 1996
# Whom: Bernd Rosauer <br@netland.inka.de>
#
# $FreeBSD$
#
PORTNAME= teTeX
PORTVERSION= 3.0
PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= # empty
DISTFILES= # empty
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 \
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
CONFLICTS= latex2e-[0-9]* tex-[0-9]* dvips-[0-9]* xdvi-[0-9]*
.if defined(WITH_LETTERSIZE)
FLAVOR+= letter
DEPENDS_ARGS+= WITH_LETTERSIZE=true
PAPERSIZE= letter
.else
PAPERSIZE= a4
.endif
TEXMFDISTDIR= share/texmf-dist
TEXMFLOCAL_LSR= ${LOCALBASE}/share/texmf-local/ls-R
# XXX: this does not work
#.if defined(FLAVOR)
#PKGNAMESUFFIX= ${FLAVOR:S,^,-,:Q:S,\\ ,,g:S,\\-,-,g}
#.endif
do-build:
@${DO_NADA}
do-install: #emtpy
@${DO_NADA}
.include <bsd.port.post.mk>