pkg_info

Howto

List installed ports in category/name format
pkg_info -aoq
Display package owner of a file
pkg_info -W bash