worksrcpath

Andrea D'Amore and.damore at macports.org
Thu Nov 25 15:23:40 PST 2010


On 25/nov/2010, at 22.51, Bradley Giesbrecht wrote:

> I'm working on a port that fetches using svn.
> 
> It currently "extracts" to work/${name}-${version}.
> 
> The port does not use configure but rather a script that fetches dependents using svn to work/.
> 
> Eventually I want to not use this script and satisfy dependencies using MacPorts but for now I'd like to have svn extract the port files to work/${name}-${version}/build as it seems wrong to have the port build process putting files in work/.
> How do I do this with svn?

You can try:
  fetch.post_args-append    ${name}-${version}/build

if it doesn't work you should override fetch phase.

> I've tried setting worksrcdir like so which does not work:
> worksrcdir              ${distname}/build

That works the opposite way, it tells mp where the extracted (in your case fetched) data is.

> Regards,
> Bradley Giesbrecht

Bye 
Andrea



More information about the macports-users mailing list