Upstream TeX Live man pages
Suppose we install the upstream TeX Live from TUG to /usr/local/texlive/20XX/ and the executables are in /usr/local/texlive/20XX/bin/amd64-freebsd.
# ln -s ../../texmf-dist/doc/man /usr/local/texlive/2024/bin/amd64-freebsd/man
This allows manpath find the man pages.
# find /usr/local/texlive/2024/texmf-dist/doc/man/ -type f -exec /root/npbin/tlsoman2hardlink {} \;
This replaces .so's (which practically not supported by mandoc) with hard links.