blob: 0cb7d12e43506b5b8c5cce8d84e3b978c380d6bd (
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
|
# Created by: Bernd Rosauer <br@netland.inka.de>
# $FreeBSD$
PORTNAME= teTeX
PORTVERSION= 3.0
PORTREVISION= 7
CATEGORIES= print
MASTER_SITES= # empty
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A meta port for teTeX suite
RUN_DEPENDS= ${LOCALBASE}/share/fonts/cm-super/README:${PORTSDIR}/print/cm-super
USE_TEX= base texmf dvipsk dvipdfmx
OPTIONS_DEFINE= LETTERSIZE X11
LETTERSIZE_DESC= Use letter size by default
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
USE_TEX+= xdvik
.endif
# XXX: We always build in batch mode to disable OPTIONS
# in print/teTeX-base.
DEPENDS_ARGS+= BATCH=yes
.if ${PORT_OPTIONS:MLETTERSIZE}
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.mk>
|