wildcarding port select files to install ?

Ryan Schmidt ryandesign at macports.org
Thu Apr 10 08:12:35 PDT 2014


I haven’t looked up the code but I can’t recall seeing any port using select doing anything other than listing all files.

On Apr 10, 2014, at 10:03, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:

> 
> No takers ;)
> 
> I would like to finalise a new port select port, and thus if there is no way to do this, would like to know so I can just bite the bullet and list all the files by hand.
> 
> cheers Chris
> 
> On 08/04/14 16:54, Chris Jones wrote:
>> Hi,
>> 
>> Is it possible to wildcard the files in a <XYZ>_select port, so that all
>> the files that match the wildcard are installed when a version is
>> selected ? In particular with
>> 
>> https://trac.macports.org/browser/users/mojca/ports/sysutils/root_select
>> 
>> we would like some way to just have root_select install everything that
>> gets installed in /opt/local/libexec/root<N>/bin. The only examples I
>> have seen explicitly list all the files. If we have to list them all
>> then fine (and maybe this is required so the 'none' option knows what to
>> remove ?), I am just curious as to if there is a way or not.



More information about the macports-dev mailing list