how to extend 'clean' operation

Rainer Müller raimue at macports.org
Mon Jan 31 15:14:10 PST 2011


Hello James,

On 2011-02-01 00:08 , James Gregurich wrote:
> I'm looking for documentation or an example on how to add custom code
> to a clean operation in a portfile and I'm not finding anything
> useful. Can I get some guidance on the proper way to extend a 'clean'
> in a port  file?

What exactly do you need to clean?

All operations up to and including the destroot phase are supposed to
happen inside the workdir, which is cleaned by the default base code
already.

Rainer


More information about the macports-dev mailing list