On 30 March 2016 at 19:25, René J. V. wrote: > >> It is fairly obvious how to extract these files. There is usually no >> need to specify how these files should be extracted, since most >> compression methods can be deduced from the filename. >> >> The command 'use_* yes' would then only set the extract.suffix >> accordingly, instead of the explicit extract.cmd. These two options >> would then be equivalent: >> >> use_xz yes >> extract.suffix .tar.xz > > Still, how would that be implemented in "base", except by an algorithm that > determines how to extract each file (that is to be handled in the extract > phase) > based on the filename or (better) from a magic cookie?
Those are the details. If a distfile has a standard extension, it's no problem figuring out how to extract it. I opened https://trac.macports.org/ticket/50969 Mojca _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev