Portfile with multiple distfiles of differing extract.suffix

Lawrence Velázquez larryv at macports.org
Mon Sep 30 22:18:20 PDT 2013


On Sep 30, 2013, at 12:47 PM, Ryan Schmidt <ryandesign at macports.org> 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).

The rust Portfile does this, pretty much exactly as Ryan describes.

vq


More information about the macports-dev mailing list