Re: man -k and man -f not working with pkgbase 15-stable installation

From: Lexi Winter <ivy_at_freebsd.org>
Date: Sun, 14 Sep 2025 16:08:37 UTC
polyduekes@proton.me:
> [...] rebooted into the freshly installed system, tried doing man -k
> dtrace, got "apropos: nothing appropriate" weird,  tried doing man -f
> dtrace, again got "whatis: nothing appropriate", tried the same with
> other manpages like "sh" and the other result was the same [...]

the problem here seems to be that makewhatis isn't run by pkg when (new)
manpages are installed.

after discussing this with kevans and bapt, i think we can fix this by
using pkg-triggers(5) to run makewhatis after packages that contain
manpages are installed.  i'll probably combine with this splitting
mandoc into its own package.