[57854] trunk/dports/www/phpmyadmin/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Sep 17 12:08:08 PDT 2009


On Sep 17, 2009, at 13:43, Landon Fuller wrote:

>
> On Sep 17, 2009, at 8:44 AM, Ryan Schmidt wrote:
>
>> On Sep 17, 2009, at 10:36, alakazam at macports.org wrote:
>>
>>
>> If you need to create files (like config files) outside of the  
>> destroot, you should do so in the post-activate phase, not in the  
>> destroot phase.
>
> I believe the (documented? defacto?) standard is that example  
> configuration files should be installed in destroot phase with  
> a .sample extension.

Uh, yes. Well the sample config file should be installed with a name  
ending in e.g. ".sample" and this should be done in the destroot phase  
and this file should be part of the destroot. But if you then want to  
copy that sample config file to a real config file for the user to  
modify, that should be done outside the destroot and outside the  
destroot phase, after the port has been activated.




More information about the macports-dev mailing list