PortGroups / New to Port File Development, Sorry!

Joshua Root jmr at macports.org
Sun Aug 26 09:54:33 PDT 2012


On 2012-8-27 01:06 , Lawrence Velázquez wrote:
> On Aug 26, 2012, at 10:16 a.m., Ben Smith wrote:
> 
>> Looking at your reference:
>>
>>
>>> guide.macports.org/chunked/reference.portgroup.html#reference.portgroup.python.sugar
>>
>>
>> Am I reading this right? The setup.py file is called multiple times in multiple stages, but ISN'T passed the destination of the files?  How does that work, why would you call the same file with the same parameters multiple times?
> 
> The value of "destroot.destdir" is passed to "destroot.cmd" as part of "destroot.post_args".
> 
> http://guide.macports.org/#reference.phases.destroot

Right; also, build.target is different to destroot.target.

- Josh


More information about the macports-dev mailing list