Make the KDocTools dependency optional
I am trying to cross-compile for a minimal FreeBSD QEMU instance and I don't have KDocTools built. As this is only needed for the handbook we can make the dependency optional.
You should consider submitting PRs to FreeBSD ports then as well, removing the corresponding dependency (or better yet, making the ports respect a DOCS option). I'm pretty sure I have marked it in packaging as
doctools_build, but that's still a dependency.
@adridg I'm not particularly familar with the ports system (my only commit there so far has been updating a package to a newer version) and I'm not sure how optional dependencies work. In case you find the time to update the ports, I have so far made it optional for Gwenview, Dolphin, and hopefully soon for kio-extras (network/kio-extras!110).