I don't think it's possible. Some packages include the license, others don't. And if they do, the location and filename is not standard anyway. It all depends on the package.
The easiest way is to visit the software website or check Wikipedia yourself. The website, when available, can be found at the bottom of the Long description in the ports/packages collection repository, e.g. Qemu.
bsd.licenses.mk stores copies of license file(s) under share/licenses/${PKGNAME} for each package. A few idiosyncratic ports may install license file under share/doc but otherwise you'd need to check contents of distfiles of the installed ports.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.