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.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev