Search for files in not installed ports

2008-04-23 Thread Anselm Strauss
Hi, is there an easy way to find the port that will install me a specific file? So far, I only found the following: # find /usr/ports -name pkg-plist | xargs -I {} grep -H 'bin/wish' {} /usr/ports/chinese/tk83/pkg-plist:bin/wish%%TK_VER%% /usr/ports/devel/sourcenav/pkg-plist:bin/wish8.3

Re: Search for files in not installed ports

2008-04-23 Thread Andrew Pantyukhin
On Wed, Apr 23, 2008 at 10:10:31PM +0200, Anselm Strauss wrote: Hi, is there an easy way to find the port that will install me a specific file? So far, I only found the following: # find /usr/ports -name pkg-plist | xargs -I {} grep -H 'bin/wish' {} That's the right way to do it, but