On 05/07/2012 19:06, Yuri wrote:
> It would be useful to have a command that finds the port name(s) by the
> command name when needed though.
> Today, for example, while searching for package that has a command
> 'svlc' I do 'cd /usr/ports && make search key=svlc' and it finds nothing
> instead of finding multimedia/vlc. make search seems to search through
> package names, dependency names, but not command names for some reason.

make search uses the INDEX, and that doesn't contain any information
about the files installed by ports.

Building a file index might be possible, but it would be several times
the size of the existing INDEX and take correspondingly longer to
generate.  Also, you'ld probably want it as a sqlite database or BDB
file for performance, rather than plain text.

        Cheers,

        Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matt...@infracaninophile.co.uk               Kent, CT11 9PW



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to