aboutsummaryrefslogtreecommitdiffstats
path: root/print/teTeX/Makefile
blob: 6a8be8b39b0420c59c64a1d28bf765d98c75fce9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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=   0
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 \
        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

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