On Oct 13, 2014, at 7:41 AM, Brandon Allbery <allber...@gmail.com> wrote:

> On Mon, Oct 13, 2014 at 8:33 AM, Mark Brethen <mark.bret...@gmail.com> wrote:
> If a user tries to install port ${name} how should this be handled?
> 
> That depends on what exactly you're trying to do. Obvious possibilities 
> include installing all subports or some common subset thereof, via 
> dependencies possibly modified by variants: a classic metaport.
> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allber...@gmail.com                                  ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

How would you install all subports?

if {${name} == ${subport}} {
    depends_build-append    subport1 subport2 subport3
    configure                          no
    build {}
    destroot {}
}

like this?

Mark




_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to