aboutsummaryrefslogtreecommitdiff
path: root/print/texlive-texmf/Makefile
blob: dbc95781d97d0eb44d200d8d21dbf117b0e657f2 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# $FreeBSD$

PORTNAME=	texlive
PORTVERSION=	20120701
PORTREVISION=	4
CATEGORIES=	print
MASTER_SITES=	ftp://ftp.tug.org/historic/systems/texlive/2012/
PKGNAMESUFFIX=	-texmf
DISTNAME=	${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}
DIST_SUBDIR=	TeX

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	TeX Live Typesetting System, texmf Tree

USE_XZ=		yes
USE_TEX=	texlive base texhash
TEXHASHDIRS=	${TEXMFDIR} ${TEXMFDISTDIR}
NO_BUILD=	yes
NO_WRKSRC=	yes

EXCLUDE_FILES=	\*/doc/man \
	texmf/doc \
	texmf/web2c/texmf.cnf \
	texmf/web2c/fmtutil.cnf \
	texmf/web2c/fmtutil-hdr.cnf \
	texmf/web2c/updmap-hdr.cfg \
	texmf/scripts/a2ping \
	texmf/scripts/ps2eps \
	texmf/scripts/tetex \
	texmf/scripts/simpdftex \
	texmf/xdvi \
	texmf/dvips \
	texmf/fonts/enc/dvips \
	texmf/fonts/map/dvips \
	texmf/fonts/cmap/dvipdfmx \
	texmf/fonts/map/dvipdfmx \
	texmf/dvipdfmx \
	texmf/dvipdfm \
	texmf-dist/doc \
	texmf-dist/dvips \
	texmf-dist/fonts/misc/xetex \
	texmf-dist/scripts/accfonts \
	texmf-dist/scripts/authorindex \
	texmf-dist/scripts/bibexport \
	texmf-dist/scripts/bundledoc \
	texmf-dist/scripts/cachepic/cachepic.tlu \
	texmf-dist/scripts/context/perl/mptopdf.pl \
	texmf-dist/scripts/ctanify \
	texmf-dist/scripts/ctanupload \
	texmf-dist/scripts/de-macro \
	texmf-dist/scripts/dosepsbin \
	texmf-dist/scripts/dviasm \
	texmf-dist/scripts/ebong \
	texmf-dist/scripts/epspdf/epspdf.rb \
	texmf-dist/scripts/epspdf/epspdftk.tcl \
	texmf-dist/scripts/epstopdf \
	texmf-dist/scripts/exceltex \
	texmf-dist/scripts/fig4latex \
	texmf-dist/scripts/findhyph \
	texmf-dist/scripts/fontools \
	texmf-dist/scripts/fragmaster \
	texmf-dist/scripts/glossaries/makeglossaries \
	texmf-dist/scripts/installfont \
	texmf-dist/scripts/jfontmaps \
	texmf-dist/scripts/latex2man \
	texmf-dist/scripts/latexdiff \
	texmf-dist/scripts/latexfileversion \
	texmf-dist/scripts/latexmk \
	texmf-dist/scripts/listbib \
	texmf-dist/scripts/listings-ext \
	texmf-dist/scripts/luaotfload \
	texmf-dist/scripts/m-tx/m-tx.lua \
	texmf-dist/scripts/match_parens \
	texmf-dist/scripts/mathspic \
	texmf-dist/scripts/mf2pt1 \
	texmf-dist/scripts/mkgrkindex \
	texmf-dist/scripts/mkjobtexmf \
	texmf-dist/scripts/musixtex/musixflx.lua \
	texmf-dist/scripts/musixtex/musixtex.lua \
	texmf-dist/scripts/oberdiek/pdfatfi.pl \
	texmf-dist/scripts/pax/pdfannotextractor.pl \
	texmf-dist/scripts/pdfcrop \
	texmf-dist/scripts/pdfjam \
	texmf-dist/scripts/pedigree-perl/pedigree.pl \
	texmf-dist/scripts/perltex \
	texmf-dist/scripts/pkfix-helper \
	texmf-dist/scripts/pkfix \
	texmf-dist/scripts/pmx/pmx2pdf.lua \
	texmf-dist/scripts/pst-pdf/ps4pdf \
	texmf-dist/scripts/pst2pdf \
	texmf-dist/scripts/purifyeps \
	texmf-dist/scripts/splitindex \
	texmf-dist/scripts/sty2dtx \
	texmf-dist/scripts/svn-multi \
	texmf-dist/scripts/tex4ht \
	texmf-dist/scripts/texcount \
	texmf-dist/scripts/texdef \
	texmf-dist/scripts/texdiff \
	texmf-dist/scripts/texdirflatten \
	texmf-dist/scripts/texliveonfly \
	texmf-dist/scripts/texloganalyser \
	texmf-dist/scripts/thumbpdf \
	texmf-dist/scripts/typeoutfileinfo \
	texmf-dist/scripts/ulqda \
	texmf-dist/scripts/uptex \
	texmf-dist/scripts/urlbst \
	texmf-dist/scripts/vpe \
	texmf-dist/scripts/xetex \
	texmf-dist/source/jadetex \
	texmf-dist/source/lambda \
	texmf-dist/source/luatex \
	texmf-dist/source/lualatex \
	texmf-dist/source/xelatex \
	texmf-dist/source/xmltex \
	texmf-dist/tex/generic/xetexconfig \
	texmf-dist/tex/jadetex \
	texmf-dist/tex/lambda \
	texmf-dist/tex/lualatex \
	texmf-dist/tex/luatex \
	texmf-dist/tex/latex/latexconfig/dvilualatex.ini \
	texmf-dist/tex/latex/latexconfig/lualatex-patch-kernel.tex \
	texmf-dist/tex/latex/latexconfig/lualatex-reset-codes.tex \
	texmf-dist/tex/latex/latexconfig/lualatex.ini \
	texmf-dist/tex/latex/latexconfig/lualatexiniconfig.tex \
	texmf-dist/tex/latex/latexconfig/lualatexquotejobname.tex \
	texmf-dist/tex/latex/latexconfig/xelatex.ini \
	texmf-dist/tex/plain/config/aleph.ini \
	texmf-dist/tex/plain/config/dviluatex.ini \
	texmf-dist/tex/plain/config/luatex.ini \
	texmf-dist/tex/plain/config/xetex.ini \
	texmf-dist/tex/xelatex \
	texmf-dist/tex/xetex \
	texmf-dist/tex/xmltex \
	texmf/tex/generic/config/luatex-unicode-letters.tex \
	texmf/tex/generic/config/luatexiniconfig.tex \
	texmf-dist/fonts/source/ptex \
	texmf-dist/fonts/ovp/public/japanese-otf-uptex \
	texmf-dist/fonts/vf/ptex \
	texmf-dist/fonts/vf/uptex \
	texmf-dist/fonts/vf/public/japanese-otf \
	texmf-dist/fonts/vf/public/japanese-otf-uptex \
	texmf-dist/fonts/type1/ptex \
	texmf-dist/fonts/tfm/ptex \
	texmf-dist/fonts/tfm/uptex \
	texmf-dist/fonts/tfm/public/japanese-otf-uptex \
	texmf-dist/fonts/tfm/public/japanese-otf \
	texmf-dist/fonts/ofm/public/japanese-otf \
	texmf-dist/source/fonts/uptex \
	texmf-dist/source/fonts/japanese-otf-uptex \
	texmf-dist/source/fonts/japanese-otf \
	texmf-dist/source/platex \
	texmf-dist/source/uplatex \
	texmf-dist/tex/ptex \
	texmf-dist/tex/uptex \
	texmf-dist/tex/platex \
	texmf-dist/tex/uplatex \
	texmf-dist/tex/generic/hyph-utf8/patterns/ptex \
	texmf-dist/tex/generic/dvips \
	texmf-dist/fonts/enc/dvips \
	texmf-dist/fonts/map/dvips \
	texmf-dist/fonts/map/dvipdfmx \
	texmf-dist/fonts/map/dvipdfm \
	texmf-dist/fonts/cmap/uptex

EXTRACT_AFTER_ARGS=| ${TAR} xf - ${EXCLUDE_FILES:S,^,--exclude ${DISTNAME}/,}

NO_STAGE=	yes
do-extract:
	@${MKDIR} ${WRKDIR}

do-install:
	${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
		${EXTRACT_AFTER_ARGS} -C ${PREFIX}/share \
		--strip-components 1 --no-same-permission --no-same-owner
	for D in ${TEXMFDIR} ${TEXMFDISTDIR}; do \
		${MKDIR} ${PREFIX}/$$D/doc && \
		${TOUCH} ${PREFIX}/$$D/doc/.keep_me; \
	done

.include <bsd.port.mk>