Right now, doxygen pulls texlive through the DOCS option (which implies LATEX). This means that every port that needs doxygen to build its documentation has to pull all of texlive to build. This is clearly suboptimal. Is it perhaps possible to change the DOCS option such that it only depends on texlive at build time, not at run time? This would make it possible to actually have doxygen without a (usually unnecessary, as you said so yourself) dependency on texlive in the packages, significantly reducing the time it takes to compile packages that depend on it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=72cd936929be68ab2d4a7a56eb6ca3d019905a5a commit 72cd936929be68ab2d4a7a56eb6ca3d019905a5a Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-04-21 14:01:23 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-04-21 14:06:58 +0000 devel/doxygen: DOCS optiion should not imply LATEX run dependecy (+) Build dependency on TeX is enough to generate manpages and html docs Run dependency on TeX suite still kept via LATEX option (OFF by default) PR: 263435 devel/doxygen/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Resolved, thanks for submission!