<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 20, 2015 at 11:27 AM, Mojca Miklavec <span dir="ltr">&lt;<a href="mailto:mojca@macports.org" target="_blank">mojca@macports.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":156" class="a3s" style="overflow:hidden">I would like to know if there is any way to implement the following<br>
inside a Portfile:<br>
(a) if a tarball with the given checksums exists, use that one<br>
(b) else, execute some relatively non-standard commands to generate<br>
the tarball first, then continue with (a)<br></div></blockquote></div><br>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.<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>