fetch aliases?

Darren Weber dweber at macports.org
Thu May 7 16:28:38 PDT 2009


Can a variant have "master_sites-append" ?



On Thu, May 7, 2009 at 4:21 PM, nox <n.oxyde at gmail.com> wrote:

> Bad idea. Every fetched file need to have its checksums verified.
> If you have the checksums, you inevitably also have the filenames and thus
> do not have to use a glob pattern.
> If you don't have fhe filenames, then you don't have the checksums.
>
> Regards.
>
> Le 8 mai 09 à 01:07, Darren Weber a écrit :
>
>
>> For a variant in the InsightToolkit, it would be useful to get all the
>> data files from here:
>> http://public.kitware.com/pub/itk/Data/BrainWeb/
>>
>> ie: <snip/>
>>
>> Is it possible to specify a fetch filename alias to get all the files like
>> "BrainPart*.tgz"?
>>
>> Would you override the fetch phase in a variant, maybe something like:
>>
>> variant braindata {
>>   fetch {
>>      exec wget -r -l1 --no-parent -A.tgz
>> http://public.kitware.com/pub/itk/Data/BrainWeb/
>>      # some code to put these downloads in the right place, like
>> ${distfiles}
>>   }
>> }
>>
>>
>> Thanks in advance,
>> Darren
>>
>> _______________________________________________
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090507/7283cfd6/attachment-0001.html>


More information about the macports-dev mailing list