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, [email protected] 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.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to