For example in +MANIFEST file of tex-dvipdfmx-20140317.txz, there is an entry: "pre-deinstall":"for D in /usr/local/share/texmf /usr/local/share/texmf-dist /usr/local/share/texmf-local /usr/local/share/texmf-var /usr/local/share/texmf-config; do if [ -r $D/ls-R ]; then /usr/local/bin/mktexlsr $D; fi; done\ncd /usr/local" This means that "mktexlsr" is executed on "pre-deinstall" phase when files are not yet removed. As the result, removed file names are still listed in ls-R files. The following log shows deleting tex-dvipdfmx does not affect the size of ls-R file, while manually executed mktexlsr does. (In my environment 10.0R and64): # pkg install texlive-full # pkg delete texlive-full tex-dvipdfmx # ls -l /usr/local/share/texmf-dist/ls-R -rw-r--r-- 1 root wheel 2246685 Sep 2 19:26 /usr/local/share/texmf-dist/ls-R # mktexlsr # ls -l /usr/local/share/texmf-dist/ls-R -rw-r--r-- 1 root wheel 2243427 Sep 2 19:26 /usr/local/share/texmf-dist/ls-R # pkg install tex-dvipdfmx # ls -l /usr/local/share/texmf-dist/ls-R -rw-r--r-- 1 root wheel 2246685 Sep 2 19:28 /usr/local/share/texmf-dist/ls-R # pkg delete tex-dvipdfmx # ls -l /usr/local/share/texmf-dist/ls-R -rw-r--r-- 1 root wheel 2246685 Sep 2 19:28 /usr/local/share/texmf-dist/ls-R # mktexlsr # ls -l /usr/local/share/texmf-dist/ls-R -rw-r--r-- 1 root wheel 2243427 Sep 2 19:42 /usr/local/share/texmf-dist/ls-R Though apparently mktexlsr should be executed in "post-deinstall" phase, I can't tell how it can be implemented.
I'm not sure who owns bsd.tex.mk so assigning to portmgr who can reassign as necessary.
$ grep MAINT Mk/bsd.tex.mk TEX_MAINTAINER= hrs@FreeBSD.org you're welcome.
TeX system has been updated to 2021. Please check if the issue still persists after update.