creating directories for destroot pahse

markd at macports.org markd at macports.org
Tue Aug 14 16:15:06 PDT 2007


N_Ox <n.oxyde at gmail.com> writes:
>> Question 1:  I thought I had to create directories manually when  
>> copying
>> my own destroot or pre- or post- destroot phases.  If not, can it  
>> simply
>> be omitted for the file specified in the MacPorts guide under  
>> "MacPorts
>> File Hierarchy".  That is the mtree, correct?
>>
>> I think I create directories in destroot for a lot of ports, and I  
>> thought
>> others did too so I'm confused.
>
>Don't worry, I've just discovered that by mistake, I haven't created  
>an mtree directory and xinstall didn't complain.
>I think they are created before the destroot stage and that these  
>that remain empty after are deleted in destroot_finish.

Okay, so the rule must be that you don't need to create directories
manaually to put files in top-level mtree directories for destroot or
post-destroot phases, otherwise yes.

Mark 




More information about the macports-dev mailing list