I want to realize a shortcut for all the PHP software and came up with the idea of the variable PHP_FLAVORS.
The idea is, that the maintainer get set a list of supported PHP versions in PHP_FLAVORS and the Uses/php.mk will do the rest. The "rest" is setting PHP_VER, PKGNAMEPREFIX and IGNORE_WITH_PHP accordingly to the selected FLAVOR.
I came up with the attached draft. Its just a guess since i'm not very experienced with the framework. While there are no syntax errors left, it doesn't work like wanted. :D
An example with "make FLAVOR=56 install" compiles, pulls in the correct PHP version but in installation stage it errors out with:
pkg-static: manifest parsing-error: error while parsing <unknown>: line: 1, column 8 - 'delimiter is missing', character: 'p'
So i request some help and feedback to the idea. Thanks