It looks like the latexindent script from print/texlive-base is missing some runtime Perl modules: Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32) at /usr/local/bin/latexindent line 39. BEGIN failed--compilation aborted at /usr/local/bin/latexindent line 39.
It looks like it is missing at least those two dependencies: p5-YAML-Tiny p5-File-HomeDir After they are installed, the script is able to do some work. I am not sure if those are all the needed dependencies.
A commit references this bug: Author: 0mp Date: Mon Nov 9 10:16:52 UTC 2020 New revision: 554704 URL: https://svnweb.freebsd.org/changeset/ports/554704 Log: Add two runtime dependencies for the latexindent script Perhaps it would be better if we created a new port option (e.g., LINKED_SCRIPTS) and used LINKED_SCRIPTS_RUN_DEPENDS instead. PR: 250320 Approved by: maintainer timeout Changes: head/print/texlive-base/Makefile