On Fri, Apr 14, 2023, at 05:50, Stuart Henderson wrote: > I never found pkg_info -Q to be a useful tool. > > Try pkglocate instead ("pkg_add pkglocatedb" first) which allows > searching on an index that is built from <pkgname>:<filename> - as a > result it lets you do a substring match on package names, not just > on filenames.
Also, as mentioned in packages(7) man page, there is a site at https://openports.pl/ that can be used, though obviously that requires internet access so may not be appropriate for all cases. I tend to use it a lot, personally.