Re: Exotic ways of fetching the tarbals

2015-10-20 Thread Ryan Schmidt
On Oct 20, 2015, at 11:01 AM, Brandon Allbery wrote: > On Tue, Oct 20, 2015 at 11:27 AM, Mojca Miklavec wrote: >> I would like to know if there is any way to implement the following >> inside a Portfile: >> (a) if a tarball with the given checksums exists, use that one >> (b) else, execute some

Re: Exotic ways of fetching the tarbals

2015-10-20 Thread Clemens Lang
- On 20 Oct, 2015, at 18:01, Brandon Allbery allber...@gmail.com wrote: > I think you can override the fetch stage completely if you want? Dunno if you > can easily invoke the default from a custom one though. You can. For example, if you override fetch, the default fetch phase is retained

Re: Exotic ways of fetching the tarbals

2015-10-20 Thread Brandon Allbery
On Tue, Oct 20, 2015 at 11:27 AM, Mojca Miklavec wrote: > I would like to know if there is any way to implement the following > inside a Portfile: > (a) if a tarball with the given checksums exists, use that one > (b) else, execute some relatively non-standard commands to generate > the tarball f

Exotic ways of fetching the tarbals

2015-10-20 Thread Mojca Miklavec
Hi, I would like to know if there is any way to implement the following inside a Portfile: (a) if a tarball with the given checksums exists, use that one (b) else, execute some relatively non-standard commands to generate the tarball first, then continue with (a) I don't care if the code would be