Joshua Root jmr at macports.org
Mon Feb 22 14:24:34 PST 2016

On 2016-2-22 20:00 , Takeshi Enomoto wrote:
> Hi,
> I created a Portfile for WP-CLI,
> which is very useful installing and managing WordPress sites.
> <http://wp-cli.org>
> 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.
Does this script need to use the same php as the wordpress installation
it manages?

> - The script in phar does not require the extract phase. Can I
> destroot directly from ${distpath}?

Yes, that's fine.

- Josh

More information about the macports-dev mailing list