1996-02-22 11:21:53 +01:00
|
|
|
# New ports collection makefile for: teTeX
|
1996-12-13 08:21:33 +01:00
|
|
|
# Date created: 5 December 1996
|
1999-04-19 22:33:09 +02:00
|
|
|
# Whom: Bernd Rosauer <br@netland.inka.de>
|
1996-02-22 11:21:53 +01:00
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1996-02-22 11:21:53 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 19:50:59 +02:00
|
|
|
PORTNAME= teTeX
|
2005-02-08 07:43:31 +01:00
|
|
|
PORTVERSION= 3.0
|
2005-02-06 14:57:15 +01:00
|
|
|
PORTREVISION= 0
|
1996-11-17 09:45:20 +01:00
|
|
|
CATEGORIES= print
|
2004-06-18 17:17:51 +02:00
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
EXTRACT_ONLY= # empty
|
|
|
|
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
|
|
COMMENT= A meta port for teTeX suite
|
|
|
|
|
2004-12-21 20:40:35 +01:00
|
|
|
RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
|
2005-02-06 14:57:15 +01:00
|
|
|
${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
|
2004-06-18 17:17:51 +02:00
|
|
|
latex:${PORTSDIR}/print/teTeX-base \
|
|
|
|
dvips:${PORTSDIR}/print/dvipsk-tetex \
|
|
|
|
xdvi:${PORTSDIR}/print/xdvik
|
|
|
|
|
|
|
|
# XXX: We always build in batch mode to disable OPTIONS
|
|
|
|
# in print/teTeX-base.
|
|
|
|
DEPENDS_ARGS+= BATCH=yes
|
2004-05-12 18:34:07 +02:00
|
|
|
|
2004-06-18 17:17:51 +02:00
|
|
|
OPTIONS= LETTERSIZE "Use letter size by default" off
|
|
|
|
|
2004-09-03 14:59:48 +02:00
|
|
|
CONFLICTS= latex2e-[0-9]* tex-[0-9]* dvips-[0-9]* xdvi-[0-9]*
|
|
|
|
|
2004-06-18 17:17:51 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2002-03-11 23:51:18 +01:00
|
|
|
|
2004-06-18 17:17:51 +02:00
|
|
|
.if defined(WITH_LETTERSIZE)
|
|
|
|
FLAVOR+= letter
|
|
|
|
DEPENDS_ARGS+= WITH_LETTERSIZE=true
|
2004-12-21 20:40:35 +01:00
|
|
|
PAPERSIZE= letter
|
2004-05-12 18:34:07 +02:00
|
|
|
.else
|
2004-12-21 20:40:35 +01:00
|
|
|
PAPERSIZE= a4
|
2002-03-11 23:51:18 +01:00
|
|
|
.endif
|
1999-07-06 09:10:10 +02:00
|
|
|
|
2005-02-06 14:57:15 +01:00
|
|
|
TEXMFDISTDIR= share/texmf-dist
|
2004-12-21 20:40:35 +01:00
|
|
|
TEXMFLOCAL_LSR= ${LOCALBASE}/share/texmf-local/ls-R
|
|
|
|
|
2004-05-12 18:34:07 +02:00
|
|
|
# XXX: this does not work
|
|
|
|
#.if defined(FLAVOR)
|
|
|
|
#PKGNAMESUFFIX= ${FLAVOR:S,^,-,:Q:S,\\ ,,g:S,\\-,-,g}
|
|
|
|
#.endif
|
|
|
|
|
2004-06-18 17:17:51 +02:00
|
|
|
do-build:
|
|
|
|
@${DO_NADA}
|
|
|
|
|
|
|
|
do-install: #emtpy
|
|
|
|
@${DO_NADA}
|
2004-05-12 18:34:07 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|