After option-dependent targets have been introduced, there's need for target which runs after all options-dependent ones. Example usecases of such a thing are:
- Strip all binaries and libraries (where each option-dependent do-install-XXX-on installs subset of files)
- Finish pkg-message which is composed of chunks dependent on options
This patch intruduces finalize-{fetch,extract,patch,configure,build,install,test} which may be used just like do-/pre-/post- counterparts and are run after all these.
Most common usecase is when upstream `make install' is called, then ther's a bunch of post-install-XXX which install additional stuff, and there's need to post-process (for example, strip) all file installed that way.
The patch contains bsd.port.mk changes and also modifications for two ports which demostrate use of finalize-*