ok, I run pkg provides mate-screenshot and it show the package is provided in mate-utils. I then run mate-screenshot with no problem. 😉 sudo pkg install mate-utils saves it ..
pkg provides
usage: pkg provides [-uf] [-r repo] pattern
A plugin for querying which package provides a particular file
also the 'provides' must be enabled beforehand.. :
OP
Code:
PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
PKG_ENABLE_PLUGINS = true;
PLUGINS [ provides ];
*got it from here: https://forums.freebsd.org/threads/pkg-unknown-command-provides.89242/