I am writing a recipe to configure a system for a particular purpose.I need to install some version of PHP, doesn't matter much which, but it should be a recent one. E.g., the latest available in ports or the default version. I do not want to hardcode any version / prefix like, say, "php83" (because it may be obsolete or unavailable in a few years).
How could this be achieved with pkg? -- Andriy Gapon
