Portfile with multiple distfiles of differing extract.suffix
Bradley Giesbrecht
pixilla at macports.org
Mon Sep 30 12:19:57 PDT 2013
On Sep 30, 2013, at 9:47 AM, Ryan Schmidt wrote:
>
> On Sep 30, 2013, at 11:18, Bradley Giesbrecht <pixilla at macports.org> wrote:
>
>> Is there an example Portfile with multiple distfiles of differing extract.suffix?
>
> I can't think of an example at the moment, but you could grep Portfiles for those with a post-extract block. MacPorts only handles a single type of distfile during extract; you'll have to extract any other types of files manually with `system` (and set `extract.only` to list only those files with the "default" compression type).
I wonder how difficult it would be to add an extract block to a Portfile and use "command_exec extract" for each distfile changing things like use_zip along the way?
I seem to recall trying this in the past without success.
Regards,
Bradley Giesbrecht (pixilla)
More information about the macports-dev
mailing list