TeXLive on FreeBSD (portsのインストール編)
FreeBSDでTeXLiveを使うお話の続き、です。
まず、既にptexやらteTexやらを入れている人はuninstallしましょう。conflictします。まあ、たかだか10か20のパッケージです。/usr/local/share/texmf*をディレクトリごと保存するなりしておけば安心できるかも知れません。
とりあえず、print/texlive-coreをまず入れます。後は、print/texlive-collection-langcjkあたりを入れておけば良いようです。その後は自由にあれこれ入れます。そのとき、
find: /usr/obj/tank/ports/print/texlive-texlive-scripts/work/texlive-scripts-20111008: そのようなファイルまたはディレクトリはありません
というようなメッセージが出てきますが、これは、print/texlive-core/bsd.texlive.mkに
--- /tank/ports/print/texlive-core/bsd.texlive.mk 2012-01-20 00:31:50.290495000 +0900 +++ /root/bsd.texlive.mk 2012-01-20 16:26:15.000000000 +0900 @@ -27,6 +27,8 @@ MKTEXLSR= ${PREFIX}/bin/mktexlsr +NO_WRKSUBDIR= yes + ${WRKDIR}/.install_files: build @( cd ${WRKDIR} && cat tlpkg/tlpobj/${PORTNAME}.tlpobj | awk '\ $$0 ~ /^ / { \
というようなパッチを当てると出てこなくなります。work以下にdistfiles名のディレクトリがあることを期待しているのですが、実際にはdistfiles名のディレクトリはできず、texmfだとかfontsだとかが直接work以下に展開されるためエラーがでています。実害があるのかはよくわかりませんが、filesディレクトリがある場合には困るのかもしれません。
texlive-collectionという接頭辞が付いたものはmeta-portになっているようで、色々なものが入ります。とりあえず、次を入れてみました。
- texlive-collection-documentation-japanese-20100922
- texlive-collection-latex-20120107
- texlive-collection-science-20120116
- texlive-collection-langcjk-20111104
- texlive-collection-mathextra-20110427
また、texlive-scheme-fullでTeXLiveの全てのパッケージがインストールされるようです。途中でpkg-descrを見て気づき、止めました。tlptexliveリポジトリ - ptexlive Wikiでは入れることが推奨されています。texlive-scheme-tetexはtetex相当物を入れる、など、texlive-scheme-系のmeta-portもいくつかあるようです。
その他、いろいろ目に付いたものを入れた結果、/var/db/pkg以下のtexlive-で始まるパッケージは次のようになりました。
- texlive-12many-20100922
- texlive-SIstyle-20100922
- texlive-SIunits-20100922
- texlive-a0poster-20100922
- texlive-abbr-20100922
- texlive-abstract-20100922
- texlive-adobemapping-20110405
- texlive-ae-20100922
- texlive-aichej-20100922
- texlive-alg-20100922
- texlive-algorithm2e-20100922
- texlive-algorithmicx-20100922
- texlive-algorithms-20100922
- texlive-ametsoc-20100922
- texlive-amscls-20110805
- texlive-amsfonts-20100922
- texlive-amsmath-20110805
- texlive-amsrefs-20110805
- texlive-amstex-20110806
- texlive-apacite-20100922
- texlive-apalike2-20100922
- texlive-arphic-20100922
- texlive-asymptote-20110721
- texlive-avantgar-20110407
- texlive-babel-20111206
- texlive-babelbib-20100922
- texlive-beebe-20111208
- texlive-bibarts-20100922
- texlive-bibexport-20111206
- texlive-bibhtml-20100922
- texlive-biblatex-20111116
- texlive-biblatex-apa-20111116
- texlive-biblatex-chem-20111016
- texlive-biblatex-chicago-20111117
- texlive-biblatex-dw-20111126
- texlive-biblatex-fiwi-20111225
- texlive-biblatex-historian-20100922
- texlive-biblatex-ieee-20110511
- texlive-biblatex-juradiss-20110923
- texlive-biblatex-luh-ipw-20120114
- texlive-biblatex-mla-20110109
- texlive-biblatex-musuos-20110928
- texlive-biblatex-nature-20110917
- texlive-biblatex-nejm-20110920
- texlive-biblatex-philosophy-20110518
- texlive-biblatex-science-20110317
- texlive-biblist-20100922
- texlive-bibtex-20110721
- texlive-bibtopic-20100922
- texlive-bibtopicprefix-20100922
- texlive-bibunits-20100922
- texlive-binomexp-20100922
- texlive-biocon-20100922
- texlive-boldtensors-20100922
- texlive-bookman-20110407
- texlive-bosisio-20100922
- texlive-bpchem-20100922
- texlive-breakcites-20110111
- texlive-bytefield-20110804
- texlive-c90-20100922
- texlive-carlisle-20100922
- texlive-ccfonts-20100922
- texlive-cell-20101217
- texlive-charter-20100922
- texlive-chbibref-20100922
- texlive-chemarrow-20100922
- texlive-chembst-20100922
- texlive-chemcompounds-20100922
- texlive-chemcono-20100922
- texlive-chemexec-20110310
- texlive-chemmacros-20111111
- texlive-chemnum-20111211
- texlive-chemstyle-20110111
- texlive-chicago-20100922
- texlive-chicago-annote-20100922
- texlive-chscite-20110922
- texlive-cjk-20100922
- texlive-cjkpunct-20100922
- texlive-cjkutils-20110721
- texlive-clrscode-20100922
- texlive-cm-20111229
- texlive-cm-super-20100922
- texlive-cmextra-20100922
- texlive-cns-20100922
- texlive-collection-documentation-japanese-20100922
- texlive-collection-langcjk-20111104
- texlive-collection-latex-20120107
- texlive-collection-mathextra-20110427
- texlive-collection-science-20120116
- texlive-collref-20100922
- texlive-colortbl-20100922
- texlive-commath-20100922
- texlive-compactbib-20100922
- texlive-complexity-20100922
- texlive-computational-complexity-20110802
- texlive-concmath-20100922
- texlive-concrete-20100922
- texlive-context-20111004
- texlive-context-account-20110721
- texlive-context-algorithmic-20110721
- texlive-context-bnf-20110721
- texlive-context-chromato-20110721
- texlive-context-construction-plan-20110721
- texlive-context-degrade-20110721
- texlive-context-filter-20111230
- texlive-context-fixme-20110721
- texlive-context-french-20111114
- texlive-context-fullpage-20110721
- texlive-context-games-20110721
- texlive-context-gantt-20110922
- texlive-core-20110705
- texlive-courier-20110407
- texlive-ctanify-20110923
- texlive-ctanupload-20110922
- texlive-ctex-20110517
- texlive-custom-bib-20111205
- texlive-cweb-20110721
- texlive-digiconfigs-20100922
- texlive-din1505-20100922
- texlive-dk-bib-20100922
- texlive-dnp-20100922
- texlive-doipubmed-20100922
- texlive-drawstack-20100922
- texlive-dtl-20110721
- texlive-dvi2tty-20110721
- texlive-dvidvi-20110721
- texlive-dvipdfm-20110721
- texlive-dvipdfmx-20111126
- texlive-dvipdfmx-def-20100922
- texlive-dvips-20120111
- texlive-dyntree-20100922
- texlive-eltex-20100922
- texlive-enctex-20100922
- texlive-engtlc-20100922
- texlive-eqnarray-20101204
- texlive-etex-20110427
- texlive-etex-pkg-20100922
- texlive-euro-20110427
- texlive-euro-ce-20100922
- texlive-eurosym-20100922
- texlive-extarrows-20100922
- texlive-extpfeil-20100922
- texlive-faktor-20100922
- texlive-fancyhdr-20100922
- texlive-fbs-20100922
- texlive-figbib-20110404
- texlive-fix2col-20100922
- texlive-fontspec-20110929
- texlive-footbib-20100922
- texlive-fouridx-20100922
- texlive-fpl-20100922
- texlive-functan-20100922
- texlive-galois-20100922
- texlive-garuda-c90-20100922
- texlive-gastex-20100922
- texlive-gene-logic-20100922
- texlive-geometry-20100922
- texlive-gnu-freefont-20110501
- texlive-graphics-20110805
- texlive-graphicx-psmin-20100922
- texlive-gu-20100922
- texlive-harvard-20100922
- texlive-harvmac-20100922
- texlive-hatching-20110906
- texlive-helvetic-20110407
- texlive-hep-20100922
- texlive-hepnames-20100922
- texlive-hepparticles-20100922
- texlive-hepthesis-20100922
- texlive-hepunits-20100922
- texlive-historische-zeitschrift-20101025
- texlive-hyperref-20111206
- texlive-hyph-utf8-20110927
- texlive-hyphen-base-20110807
- texlive-hyphenex-20101203
- texlive-ifluatex-20110427
- texlive-ifxetex-20100922
- texlive-ijqc-20100922
- texlive-inlinebib-20110409
- texlive-ionumbers-20110805
- texlive-iopart-num-20100922
- texlive-ipaex-20111220
- texlive-isomath-20110206
- texlive-japanese-20111111
- texlive-japanese-otf-20111227
- texlive-jlabels-20111220
- texlive-jmn-20110721
- texlive-jneurosci-20100922
- texlive-jsclasses-20100922
- texlive-jurabib-20100922
- texlive-karnaugh-20110209
- texlive-kastrup-20100922
- texlive-kpathsea-20111223
- texlive-ksfh_nat-20111213
- texlive-labels-20100922
- texlive-lacheck-20110721
- texlive-latex-20110824
- texlive-latex-fonts-20100922
- texlive-latex2man-20101225
- texlive-latexconfig-20110721
- texlive-latexfileversion-20120105
- texlive-layouts-20100922
- texlive-listbib-20100922
- texlive-listings-ext-20100922
- texlive-lm-20110721
- texlive-lmextra-20100922
- texlive-logreq-20100922
- texlive-ltxmisc-20110404
- texlive-lua-alt-getopt-20100922
- texlive-luatex-20110805
- texlive-makeindex-20110721
- texlive-margbib-20100922
- texlive-marvosym-20110824
- texlive-match_parens-20110813
- texlive-mathcomp-20100922
- texlive-mathpazo-20100922
- texlive-mattens-20100922
- texlive-metafont-20110721
- texlive-metapost-20110721
- texlive-mflogo-20100922
- texlive-mfnfss-20100922
- texlive-mfware-20110721
- texlive-mhchem-20110804
- texlive-mhequ-20100922
- texlive-miller-20100922
- texlive-misc-20111229
- texlive-mptopdf-20110721
- texlive-multibib-20100922
- texlive-multiobjective-20100922
- texlive-munich-20100922
- texlive-mychemistry-20110430
- texlive-natbib-20101208
- texlive-nath-20100922
- texlive-ncntrsbk-20110407
- texlive-norasi-c90-20100922
- texlive-notes2bib-20110913
- texlive-nuc-20110501
- texlive-oberdiek-20110427
- texlive-objectz-20100922
- texlive-ot-tableau-20100922
- texlive-oubraces-20110327
- texlive-palatino-20110407
- texlive-parskip-20101001
- texlive-pdftex-20120111
- texlive-pdftex-def-20110721
- texlive-perception-20100922
- texlive-physymb-20110512
- texlive-plain-20101125
- texlive-pnas2009-20100922
- texlive-proba-20100922
- texlive-prosper-20100922
- texlive-pseudocode-20100922
- texlive-pslatex-20100922
- texlive-psnfss-20110805
- texlive-pspicture-20100922
- texlive-pstool-20100922
- texlive-psutils-20111111
- texlive-ptex-20111223
- texlive-pxfonts-20100922
- texlive-realscripts-20101003
- texlive-rec-thy-20110109
- texlive-rsc-20110109
- texlive-rsfs-20100922
- texlive-sasnrdisplay-20111209
- texlive-sciposter-20100922
- texlive-seetexk-20110721
- texlive-sfg-20101026
- texlive-showtags-20101106
- texlive-shuffle-20100922
- texlive-siunitx-20120119
- texlive-skaknew-20101010
- texlive-sort-by-letters-20100922
- texlive-splitbib-20100922
- texlive-statex-20101105
- texlive-statex2-20110917
- texlive-steinmetz-20100922
- texlive-stmaryrd-20110410
- texlive-struktex-20100923
- texlive-subsupscripts-20100922
- texlive-susy-20100922
- texlive-syllogism-20100922
- texlive-symbol-20110303
- texlive-synproof-20100922
- texlive-t-angles-20100922
- texlive-tablor-20101119
- texlive-tensor-20100922
- texlive-tetex-20120120
- texlive-tex-ewd-20100922
- texlive-tex-gyre-20100922
- texlive-texdoc-20120105
- texlive-texlive-scripts-20111008
- texlive-texliveonfly-20111006
- texlive-textopo-20110906
- texlive-thailatex-20110324
- texlive-thmbox-20100922
- texlive-times-20110407
- texlive-tipa-20100922
- texlive-tools-20111209
- texlive-ttfutils-20110721
- texlive-turnstile-20100922
- texlive-txfonts-20100922
- texlive-uhc-20100922
- texlive-ulqda-20100922
- texlive-uni-wtal-ger-20110427
- texlive-unicode-math-20110921
- texlive-unitsdef-20100922
- texlive-urlbst-20110730
- texlive-utopia-20100922
- texlive-vak-20110808
- texlive-venn-20100922
- texlive-wadalab-20110524
- texlive-wasy-20100922
- texlive-wasysym-20100922
- texlive-xcite-20110905
- texlive-xetex-20110927
- texlive-xetexconfig-20100922
- texlive-xindy-20111111
- texlive-yhmath-20100922
- texlive-youngtab-20100922
- texlive-ytableau-20110203
- texlive-zapfchan-20110407
- texlive-zapfding-20110303
- texlive-zhmetrics-20110427
- texlive-zhspacing-20100922
その数、324個です。texlive-scheme-fullを(途中まで)入れていなければ、もっと少なくて済んだのでしょう。多いですね。。。だいたいパッケージは約700個だったのですが、これで1000個を越えました。
ところで、print/texlive-jsclassesはやや古いようですね(ver. 20100922)。はてさて、これでどのくらいのものがコンパイルできるのでしょうか。それは後ほど試します。また、FrontPage - ptexlive Wikiのパッチを当ててみる、というのも、後ほど。