Can a plan build separate packages from one build?


For example, a PHP plan building once a set of PHP SAPIS and extensions, but separated outputs for each PHP SAPI and PHP extension?

To me, it looks like a plan can only create one package, so is there an alternative way to reuse the output of another plan and avoid having to split out the build process?


I suppose I could make a plan that builds and packages it all in one, and use that as a pkg_build_deps for the plans for each package I want to create out of it, and try to copy the relevant artifacts into the specific package


Is there any news on this one?

I like to split a package as well.