Builded packages is here (on 11.2, amd64): http://freebsd.uzsolt.hu/test_pkg/
You can download them and "pkg add ..." (and should remove old tex-* and texlive-* specific packages
(I think I added every conflicts to Makefile but who knows)).
Some background information:
print/texlive-kpathsea:
The search engine (was: devel/tex-kpathsea).
It's better to separate it because the generating format files (*.fmt) is needed it.
And its separation isn't hard and doesn't need any patches.
print/texlive-bin:
The main package which contains the main binaries and some scripts. It contains the generated format files (was: print/tex-formats).
To generate the formats needed (the new) print/texlive-texmf-core. With it can compile some simple tex-files to dvi.
The texlive-bin has options: ALEPH, LUATEX, PDFTEX and XETEX. I think the default LUATEX, PDFTEX and XETEX is enough.
If ports system will support subpackages maybe can split this package.
Don't create separate tex-formats package because can't handle the port options in external port.
The monster texlive-texmf package splitted. The main idea is taken
from Arch Linux (https://www.archlinux.org/packages/?q=texlive).
There is DOCS option. The documents are placed in PREFIX/share/doc/texlive-texmf
directory's subdirectories.
print/texlive-texmf-core:
It's needed by print/texlive-bin to create format files.
With this can compile some tex-files to dvi but not enough to LaTeX and not so simple cases.
print/texlive-texmf-base:
I think with this package can compile many TeX and LaTeX files.
print/texlive-texmf-*every*other*:
See their pkg-descr.* :)
The print/texlive-texmf-all is a common ("master", meta) port.
It causes install all texlive-texmf-* packages and provides a minimal "framework" to
minimize the similar works.
TODO:
- testing, testing, testing I'm using (only) pdflatex and don't the others so I can' test them
- add these ports to print/Makefile
- remove Mk/bsd.tex.mk and modify USE_TEX-releated ports
- add DEPRECATED and EXPIRATION_DATE to old texlive-ports
- maybe add dependencies between texlive-texmf-* packages if it's needed (imho it would good with user-based testing because it's a huge work to check *every* TeX-package's dependencies).
IDEAS:
- maybe can update texlive-texmf-* every (1-2-3) months, because the packages are updating and appears new packages continuously (see https://ctan.org/ctan-ann). It's not too hard because TeXLive has
- subversion access (https://tug.org/texlive/svn/) to view the logs and
- rsync access to create a huge texlive-texmf-%monthly%.tar.xz files I think can do it. In this case the tlmgr is maybe unneeded.
- maybe can create splitted texlive-texmf-*-%version%.tar.xz source files (as Arch does) because they would be smaller and faster the build process (hasn't read the whole 2G tar.xz file every time).