install default or latest version of php with pkg

Andriy Gapon <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.