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

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
  • worksrcpath Bradley Giesbrecht
    • Re: worksrcpath Andrea D'Amore

Reply via email to