ryandesign at macports.org
Mon Feb 22 18:33:50 PST 2016
On Feb 22, 2016, at 4:24 PM, Joshua Root wrote:
> On 2016-2-22 20:00 , Takeshi Enomoto wrote:
>> I created a Portfile for WP-CLI,
>> which is very useful installing and managing WordPress sites.
>> It is just a compressed PHP script so it might not worth packaging,
>> but Homebrew has a formula and it is mentioned at the WP-CLI web site
>> as and alternative method to install.
>> So I thought we should also provide a Portfile.
>> - The script runs with php that it finds. Is this OK?
> If it works fine with any version of php this may be OK. If not,
> variants adding a dependency on different php ports may be appropriate.
The other reason to use a specific PHP version (i.e. with variants) is if this script needs a PHP module that would be installed with MacPorts. If it needs no modules, and works with any version of PHP, then no need for a MacPorts PHP dependency.
More information about the macports-dev