blob: 6087d14b28fd8834532ba53fbecf60f2eb928e71 (
plain)
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
|
PORTNAME= texlive
PORTVERSION= ${TEXLIVE_VERSION}
CATEGORIES= print
MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/
PKGNAMESUFFIX= -texmf
DISTFILES= ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}${EXTRACT_SUFX}
DIST_SUBDIR= TeX
EXTRACT_ONLY=
MAINTAINER= tex@FreeBSD.org
COMMENT= TeX Live Typesetting System, texmf Tree
USES= cpe python:run shebangfix tar:xz
CPE_VENDOR= tug
USE_TEX= base basic:extract texhash tlmgr:run
EXTRACT_AFTER_ARGS= | ${TAR} xf - \
${EXCLUDE_FILES:S,^,--exclude ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}/,}
DISABLE_SIZE= yes # XXX bug 262056: distfile too large
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
EXCLUDE_FILES= \*/doc/man texmf-dist/ls-R texmf-dist/bibtex/csf/base \
texmf-dist/doc texmf-dist/dvipdfm texmf-dist/dvipdfmx \
texmf-dist/dvips texmf-dist/fonts/cmap/dvipdfmx \
texmf-dist/fonts/cmap/uptex texmf-dist/fonts/enc/dvips \
texmf-dist/fonts/map/dvipdfm texmf-dist/fonts/map/dvipdfmx \
texmf-dist/fonts/map/dvips texmf-dist/fonts/map/luatex \
texmf-dist/fonts/misc/xetex \
texmf-dist/fonts/ofm/public/japanese-otf \
texmf-dist/fonts/ovp/public/japanese-otf-uptex \
texmf-dist/fonts/source/ptex texmf-dist/fonts/tfm/ptex \
texmf-dist/fonts/tfm/public/japanese-otf \
texmf-dist/fonts/tfm/public/japanese-otf-uptex \
texmf-dist/fonts/tfm/uptex texmf-dist/fonts/type1/ptex \
texmf-dist/fonts/vf/ptex \
texmf-dist/fonts/vf/public/japanese-otf \
texmf-dist/fonts/vf/public/japanese-otf-uptex \
texmf-dist/fonts/vf/uptex texmf-dist/scripts/xetex \
texmf-dist/source \
texmf-dist/tex/generic/config/luatex-unicode-letters.tex \
texmf-dist/tex/generic/config/luatexiniconfig.tex \
texmf-dist/tex/generic/context/luatex \
texmf-dist/tex/generic/dvips \
texmf-dist/tex/generic/hyph-utf8/patterns/ptex \
texmf-dist/tex/generic/xetexconfig texmf-dist/tex/jadetex \
texmf-dist/tex/lambda texmf-dist/tex/latex/base \
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/lualatex texmf-dist/tex/luatex \
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/platex \
texmf-dist/tex/ptex texmf-dist/tex/uplatex texmf-dist/tex/uptex \
texmf-dist/tex/xelatex texmf-dist/tex/xetex \
texmf-dist/tex/xmltex texmf-dist/web2c/fmtutil-hdr.cnf \
texmf-dist/tex/cslatex \
texmf-dist/web2c/fmtutil.cnf texmf-dist/web2c/texmf.cnf \
texmf-dist/web2c/updmap-hdr.cfg texmf-dist/web2c/updmap.cfg \
texmf-dist/xdvi texmf-dist/scripts/a2ping/a2ping.pl \
texmf-dist/scripts/accfonts/mkt1font \
texmf-dist/scripts/accfonts/vpl2ovp \
texmf-dist/scripts/accfonts/vpl2vpl \
texmf-dist/scripts/adhocfilelist/adhocfilelist.sh \
texmf-dist/scripts/albatross/albatross.sh \
texmf-dist/scripts/arara/arara.sh \
texmf-dist/scripts/authorindex/authorindex \
texmf-dist/scripts/bibexport/bibexport.sh \
texmf-dist/scripts/bundledoc/arlatex \
texmf-dist/scripts/bundledoc/bundledoc \
texmf-dist/scripts/cachepic/cachepic.tlu \
texmf-dist/scripts/cjk-gs-integrate/cjk-gs-integrate.pl \
texmf-dist/scripts/checkcites/checkcites.lua \
texmf-dist/scripts/context/perl/mptopdf.pl \
texmf-dist/scripts/context/stubs/unix/context \
texmf-dist/scripts/context/stubs/unix/contextjit \
texmf-dist/scripts/context/stubs/unix/luatools \
texmf-dist/scripts/context/stubs/unix/mtxrun \
texmf-dist/scripts/context/stubs/unix/mtxrunjit \
texmf-dist/scripts/context/stubs/unix/texexec \
texmf-dist/scripts/context/stubs/unix/texmfstart \
texmf-dist/scripts/context/lua \
texmf-dist/scripts/convbkmk/convbkmk.rb \
texmf-dist/scripts/crossrefware/bibdoiadd.pl \
texmf-dist/scripts/crossrefware/bibzbladd.pl \
texmf-dist/scripts/crossrefware/ltx2crossrefxml.pl \
texmf-dist/scripts/ctanify/ctanify \
texmf-dist/scripts/ctanupload/ctanupload.pl \
texmf-dist/scripts/de-macro/de-macro \
texmf-dist/scripts/dosepsbin/dosepsbin.pl \
texmf-dist/scripts/dtxgen/dtxgen \
texmf-dist/scripts/dviasm/dviasm.py \
texmf-dist/scripts/ebong/ebong.py \
texmf-dist/scripts/epspdf/epspdf.tlu \
texmf-dist/scripts/epspdf/epspdftk.tcl \
texmf-dist/scripts/epstopdf/epstopdf.pl \
texmf-dist/scripts/exceltex/exceltex \
texmf-dist/scripts/fig4latex/fig4latex \
texmf-dist/scripts/findhyph/findhyph \
texmf-dist/scripts/fontools/afm2afm \
texmf-dist/scripts/fontools/autoinst \
texmf-dist/scripts/fontools/ot2kpx \
texmf-dist/scripts/fragmaster/fragmaster.pl \
texmf-dist/scripts/getmap/getmapdl.lua \
texmf-dist/scripts/git-latexdiff/git-latexdiff \
texmf-dist/scripts/glossaries/makeglossaries \
texmf-dist/scripts/hyperxmp/hyperxmp-add-bytecount.pl \
texmf-dist/scripts/installfont/installfont-tl \
texmf-dist/scripts/jfontmaps/kanji-config-updmap-sys.sh \
texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl \
texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl \
texmf-dist/scripts/kotex-utils/jamo-normalize.pl \
texmf-dist/scripts/kotex-utils/komkindex.pl \
texmf-dist/scripts/kotex-utils/ttf2kotexfont.pl \
texmf-dist/scripts/latex-git-log/latex-git-log \
texmf-dist/scripts/latex2man/latex2man \
texmf-dist/scripts/latexdiff/latexdiff-vc.pl \
texmf-dist/scripts/latexdiff/latexdiff.pl \
texmf-dist/scripts/latexdiff/latexrevise.pl \
texmf-dist/scripts/latexfileversion/latexfileversion \
texmf-dist/scripts/latexindent/latexindent.pl \
texmf-dist/scripts/latexmk/latexmk.pl \
texmf-dist/scripts/latexpand/latexpand \
texmf-dist/scripts/light-latex-make/llmk.lua \
texmf-dist/scripts/lilyglyphs/lily-glyph-commands.py \
texmf-dist/scripts/lilyglyphs/lily-image-commands.py \
texmf-dist/scripts/lilyglyphs/lily-rebuild-pdfs.py \
texmf-dist/scripts/listbib/listbib \
texmf-dist/scripts/listings-ext/listings-ext.sh \
texmf-dist/scripts/ltxfileinfo/ltxfileinfo \
texmf-dist/scripts/ltximg/ltximg.pl \
texmf-dist/scripts/lua2dox/lua2dox_filter \
texmf-dist/scripts/luaotfload/luaotfload-tool.lua \
texmf-dist/scripts/m-tx/m-tx.lua \
texmf-dist/scripts/match_parens/match_parens \
texmf-dist/scripts/mathspic/mathspic.pl \
texmf-dist/scripts/mf2pt1/mf2pt1.pl \
texmf-dist/scripts/mkgrkindex/mkgrkindex \
texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl \
texmf-dist/scripts/mkpic/mkpic \
texmf-dist/scripts/multibibliography/multibibliography.pl \
texmf-dist/scripts/musixtex/musixflx.lua \
texmf-dist/scripts/musixtex/musixtex.lua \
texmf-dist/scripts/attachfile2/pdfatfi.pl \
texmf-dist/scripts/pax/pdfannotextractor.pl \
texmf-dist/scripts/pdfcrop/pdfcrop.pl \
texmf-dist/scripts/pdfjam/pdf180 \
texmf-dist/scripts/pdfjam/pdf270 \
texmf-dist/scripts/pdfjam/pdf90 \
texmf-dist/scripts/pdfjam/pdfbook \
texmf-dist/scripts/pdfjam/pdfflip \
texmf-dist/scripts/pdfjam/pdfjam \
texmf-dist/scripts/pdfjam/pdfjam-pocketmod \
texmf-dist/scripts/pdfjam/pdfjam-slides3up \
texmf-dist/scripts/pdfjam/pdfjam-slides6up \
texmf-dist/scripts/pdfjam/pdfjoin \
texmf-dist/scripts/pdfjam/pdfnup \
texmf-dist/scripts/pdfjam/pdfpun \
texmf-dist/scripts/pedigree-perl/pedigree.pl \
texmf-dist/scripts/perltex/perltex.pl \
texmf-dist/scripts/pfarrei/a5toa4.tlu \
texmf-dist/scripts/pfarrei/pfarrei.tlu \
texmf-dist/scripts/pkfix-helper/pkfix-helper \
texmf-dist/scripts/pkfix/pkfix.pl \
texmf-dist/scripts/pmx/pmx2pdf.lua \
texmf-dist/scripts/pmxchords/pmxchords.lua \
texmf-dist/scripts/ps2eps/ps2eps.pl \
texmf-dist/scripts/pst-pdf/ps4pdf \
texmf-dist/scripts/pst2pdf/pst2pdf.pl \
texmf-dist/scripts/ptex2pdf/ptex2pdf.lua \
texmf-dist/scripts/purifyeps/purifyeps \
texmf-dist/scripts/pygmentex/pygmentex.py \
texmf-dist/scripts/pythontex/depythontex.py \
texmf-dist/scripts/pythontex/pythontex.py \
texmf-dist/scripts/rubik/rubikrotation.pl \
texmf-dist/scripts/simpdftex/simpdftex \
texmf-dist/scripts/spix/spix.py \
texmf-dist/scripts/splitindex/splitindex.pl \
texmf-dist/scripts/sty2dtx/sty2dtx.pl \
texmf-dist/scripts/svn-multi/svn-multi.pl \
texmf-dist/scripts/tex4ht/ht.sh \
texmf-dist/scripts/tex4ht/htcontext.sh \
texmf-dist/scripts/tex4ht/htlatex.sh \
texmf-dist/scripts/tex4ht/htmex.sh \
texmf-dist/scripts/tex4ht/httex.sh \
texmf-dist/scripts/tex4ht/httexi.sh \
texmf-dist/scripts/tex4ht/htxelatex.sh \
texmf-dist/scripts/tex4ht/htxetex.sh \
texmf-dist/scripts/tex4ht/mk4ht.pl \
texmf-dist/scripts/texcount/texcount.pl \
texmf-dist/scripts/texdef/texdef.pl \
texmf-dist/scripts/texdiff/texdiff \
texmf-dist/scripts/texdirflatten/texdirflatten \
texmf-dist/scripts/texdoc/texdoc.tlu \
texmf-dist/scripts/texdoctk/texdoctk.pl \
texmf-dist/scripts/texfot/texfot.pl \
texmf-dist/scripts/texlive/allcm.sh \
texmf-dist/scripts/texlive/allneeded.sh \
texmf-dist/scripts/texlive/dvi2fax.sh \
texmf-dist/scripts/texlive/dvired.sh \
texmf-dist/scripts/texlive/e2pall.pl \
texmf-dist/scripts/texlive/fmtutil-sys.sh \
texmf-dist/scripts/texlive/fmtutil.pl \
texmf-dist/scripts/texlive/fontinst.sh \
texmf-dist/scripts/texlive/kpsetool.sh \
texmf-dist/scripts/texlive/kpsewhere.sh \
texmf-dist/scripts/texlive/ps2frag.sh \
texmf-dist/scripts/texlive/pslatex.sh \
texmf-dist/scripts/texlive/rubibtex.sh \
texmf-dist/scripts/texlive/rumakeindex.sh \
texmf-dist/scripts/texlive/rungs.tlu \
texmf-dist/scripts/texlive/texconfig-dialog.sh \
texmf-dist/scripts/texlive/texconfig-sys.sh \
texmf-dist/scripts/texlive/texconfig.sh \
texmf-dist/scripts/texlive/texlinks.sh \
texmf-dist/scripts/texlive/tlmgr.pl \
texmf-dist/scripts/texlive/updmap-sys.sh \
texmf-dist/scripts/texlive/updmap.pl \
texmf-dist/scripts/texliveonfly/texliveonfly.py \
texmf-dist/scripts/texloganalyser/texloganalyser \
texmf-dist/scripts/thumbpdf/thumbpdf.pl \
texmf-dist/scripts/tikztosvg/tikztosvg \
texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \
texmf-dist/scripts/ulqda/ulqda.pl \
texmf-dist/scripts/urlbst/urlbst texmf-dist/scripts/vpe/vpe.pl \
texmf-dist/scripts/yplan/yplan \
texmf-dist/scripts/bib2gls/bib2gls.sh \
texmf-dist/scripts/bib2gls/convertgls2bib.sh \
texmf-dist/scripts/checklistings/checklistings.sh \
texmf-dist/scripts/chklref/chklref.pl \
texmf-dist/scripts/clojure-pamphlet/pamphletangler \
texmf-dist/scripts/cluttex/cluttex.lua \
texmf-dist/scripts/crossrefware/bbl2bib.pl \
texmf-dist/scripts/crossrefware/bibmradd.pl \
texmf-dist/scripts/crossrefware/biburl2doi.pl \
texmf-dist/scripts/ctan-o-mat/ctan-o-mat.pl \
texmf-dist/scripts/ctanbib/ctanbib \
texmf-dist/scripts/diadia/diadia.lua \
texmf-dist/scripts/dviinfox/dviinfox.pl \
texmf-dist/scripts/glossaries/makeglossaries-lite.lua \
texmf-dist/scripts/jfmutil/jfmutil.pl \
texmf-dist/scripts/ketcindy/ketcindy.pl \
texmf-dist/scripts/l3build/l3build.lua \
texmf-dist/scripts/latex-papersize/latex-papersize.py \
texmf-dist/scripts/latex2nemeth/latex2nemeth \
texmf-dist/scripts/lwarp/lwarpmk.lua \
texmf-dist/scripts/make4ht/make4ht \
texmf-dist/scripts/makedtx/makedtx.pl \
texmf-dist/scripts/pdfbook2/pdfbook2 \
texmf-dist/scripts/pdflatexpicscale/pdflatexpicscale.pl \
texmf-dist/scripts/pdftex-quiet/pdftex-quiet \
texmf-dist/scripts/pdfxup/pdfxup \
texmf-dist/scripts/petri-nets/pn2pdf \
texmf-dist/scripts/ptex-fontmaps/kanji-config-updmap-sys.sh \
texmf-dist/scripts/ptex-fontmaps/kanji-config-updmap-user.sh \
texmf-dist/scripts/ptex-fontmaps/kanji-config-updmap.pl \
texmf-dist/scripts/ptex-fontmaps/kanji-fontmap-creator.pl \
texmf-dist/scripts/srcredact/srcredact.pl \
texmf-dist/scripts/tex4ebook/tex4ebook \
texmf-dist/scripts/tex4ht/xhlatex.sh \
texmf-dist/scripts/texlive-extra/allcm.sh \
texmf-dist/scripts/texlive-extra/allneeded.sh \
texmf-dist/scripts/texlive-extra/dvi2fax.sh \
texmf-dist/scripts/texlive-extra/dvired.sh \
texmf-dist/scripts/texlive-extra/e2pall.pl \
texmf-dist/scripts/texlive-extra/fontinst.sh \
texmf-dist/scripts/texlive-extra/ps2frag.sh \
texmf-dist/scripts/texlive-extra/pslatex.sh \
texmf-dist/scripts/texlive-extra/rubibtex.sh \
texmf-dist/scripts/texlive-extra/rumakeindex.sh \
texmf-dist/scripts/texlive-extra/texconfig-dialog.sh \
texmf-dist/scripts/texlive-extra/texconfig-sys.sh \
texmf-dist/scripts/texlive-extra/texconfig.sh \
texmf-dist/scripts/texlive-extra/texlinks.sh \
texmf-dist/scripts/texlive/fmtutil-user.sh \
texmf-dist/scripts/texlive/mktexlsr \
texmf-dist/scripts/texlive/mktexmf \
texmf-dist/scripts/texlive/mktexpk \
texmf-dist/scripts/texlive/mktextfm \
texmf-dist/scripts/texlive/updmap-user.sh \
texmf-dist/scripts/texosquery/texosquery-jre5.sh \
texmf-dist/scripts/texosquery/texosquery-jre8.sh \
texmf-dist/scripts/texosquery/texosquery.sh \
texmf-dist/scripts/texplate/texplate.sh \
texmf-dist/scripts/tlcockpit/tlcockpit.sh \
texmf-dist/scripts/tlshell/tlshell.tcl \
texmf-dist/scripts/webquiz/webquiz.py \
texmf-dist/scripts/wordcount/wordcount.sh \
texmf-dist/scripts/xindex/xindex.lua \
texmf-dist/texconfig/tcfmgr \
texmf-dist/texconfig/tcfmgr.map \
PKG_CREATE_VERBOSE= yes
TEXHASHDIRS= ${TEXMFDIR} ${TEXMFDISTDIR}
do-install:
${CAT} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}${EXTRACT_SUFX} \
${EXTRACT_AFTER_ARGS} -C ${STAGEDIR}${PREFIX}/share \
--strip-components 1 --no-same-permission --no-same-owner
${MKDIR} ${STAGEDIR}${PREFIX}/${TEXMFDISTDIR}/tex/latex/base
${REINPLACE_CMD} -i '' 's/\\def\\magyar@sugg@ie@low#1#2#3/\\def\\magyar@sugg@ie@low\\protect #1#2#3/' ${STAGEDIR}${PREFIX}/share/texmf-dist/tex/generic/babel-hungarian/magyar.ldf
${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-dist -not -type d | ${SORT} | \
${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-dist -type d -empty | ${SORT} -r | \
${SED} -e 's#^${STAGEDIR}${PREFIX}/#@dir #' >> ${TMPPLIST}
post-install:
@${REINPLACE_CMD} -i '' -e '1s|/bin/bash|${bash_CMD}|' \
${STAGEDIR}${PREFIX}/share/texmf-dist/scripts/logicpuzzle/createlpsudoku \
${STAGEDIR}${PREFIX}/share/texmf-dist/scripts/logicpuzzle/lpsmag \
${STAGEDIR}${PREFIX}/share/texmf-dist/scripts/pgf/pgfrevisionfile.sh
@${REINPLACE_CMD} -i '' -e '1s|/usr/bin/perl|${perl_CMD}|' \
${STAGEDIR}${PREFIX}/share/texmf-dist/scripts/mycv/mycv_split_contents.pl
@${REINPLACE_CMD} -i '' -E -e '1s|/usr/bin/env python[23]?|${python_CMD}|; \
1s|/usr/bin/python|${python_CMD}|;' \
${STAGEDIR}${PREFIX}/share/texmf-dist/asymptote/GUI/*.py \
${STAGEDIR}${PREFIX}/share/texmf-dist/scripts/webquiz/webquiz \
${STAGEDIR}${PREFIX}/share/texmf-dist/scripts/*/*.py
@${REINPLACE_CMD} -i '' -E -e '/ec\.tex/d' \
${STAGEDIR}${PREFIX}/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-zh-latn-pinyin.tex \
${STAGEDIR}${PREFIX}/share/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-la-x-liturgic.tex
.include <bsd.port.mk>
|