If you have trouble finding a application and don't know if it's on the base system
whereis(1) or
apropos(1) can help to determine if it is or not. When the mentioned utilities don't return a positive answer, it's likely what you search is from a port, assuming there is a port for it.
To find a application (or other files, e.g. shared libraries) provided by a port or package, my primary source is
https://freshports.org . Freshports.org lists all the port details, inclusive a packing list (the content of a package: binaries, shared libs, rc scripts, headers, man pages, etc.).
If you have a ports tree installed you can query the
pkg-plist of every port having one too, but it takes to long, unless you know in which category the port might be in. E.g.:
grep -rwo "snmpget" /usr/ports/net*
(or
"bin/snmpget"
).
Freshports.org has the packaging list (
pkg-plist) of every port displayed. Performing a web search with keyword and a
site: modifier helps to find a specific file fast. E.g.:
https://html.duckduckgo.com/html?q="snmpget" site:freshports.org (quotations marks around the keyword for exact match).