Make the infrastructure agnostic on the number of directories after categories
- Group Reviewers
O5: Ports Framework portmgr
- rP429298: Make the ports infrastructure accept at least 3 level ports
Tested fine with 'make check-sanity' on www/chromium inside the ports tree and outside the tree in a github checkout directory. In the latter case, it warns correctly and errors out if I add ../../../Mk/bsd.port.mk (because PKGCATEGORY == www but PKGORIGIN == /usr/home/rene/github/chromium/cpu82-chromium).
For in-tree ports, PKGORIGIN works as expected.
OPTIONS_NAME also works as expected.