how to: meta-package port
René J.V. Bertin
rjvbertin at gmail.com
Thu May 28 09:30:18 PDT 2015
On Thursday May 28 2015 12:27:19 Lawrence Velázquez wrote:
> Install some dummy files instead of failing. Something like this:
>
> PortSystem 1.0
> name foo
> supported_archs noarch
> archive_sites
> distfiles
> use_configure no
> build {}
> destroot {
> system "echo $name is a stub port >${destroot}${prefix}/share/doc/${name}/README"
> }
I thought I'd been told not to override build and/or other phases, a while ago, but use some formula instead.
I shouldn't have mentioned raising an error: in fact I want to use the main port to depend on a specific subport by default (sort of like a default subport).
R.
More information about the macports-dev
mailing list