Request for help with port organisation: how to install several versions of data files

Lawrence Velázquez larryv at macports.org
Tue Jul 2 13:37:58 PDT 2013


On Jul 2, 2013, at 2:16 PM, Mojca Miklavec <mojca at macports.org> wrote:

> On Tue, Jul 2, 2013 at 7:10 PM, Bradley Giesbrecht wrote:
>> On Jul 2, 2013, at 10:03 AM, Lawrence Velázquez wrote:
>>> It's a little weird to put stuff into ${destroot} during extract. I certainly do not expect "port extract" to create the destroot.
>> 
>> Yes, it is not common though they are simply data files, no configure, make or make install; so I understand why Mojca questions the need to copy large data sets around.
>> 
>> One could set "extract {}", let destroot make directories and code the extraction. I thought making use of port extract was a nicer way.
> 
> But then others will argue that users expect from "extract" to check
> the checksums and actually extract something. I let the gurus figure
> out the best way. I can live with moving files around if that's really
> needed or expected.

I'd suggest letting extract do its thing and moving the data files in destroot. Moving (as opposed to copying) should be an inexpensive operation.

vq


More information about the macports-dev mailing list