Search for files in not installed ports

Anselm Strauss amsibamsi at gmail.com
Wed Apr 23 20:10:35 UTC 2008


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
/usr/ports/japanese/tk80/pkg-plist:bin/wish8.0jp
/usr/ports/japanese/tkstep80/pkg-plist:bin/wishstep8.0jp
/usr/ports/x11-toolkits/tk80/pkg-plist:bin/wish8.0
/usr/ports/x11-toolkits/tk82/pkg-plist:bin/wish%%TK_VER%%
/usr/ports/x11-toolkits/tk83/pkg-plist:bin/wish%%TK_VER%%
/usr/ports/x11-toolkits/tk84/pkg-plist:bin/wish%%TK_VER%%
/usr/ports/x11-toolkits/tk85/pkg-plist:bin/wish%%TK_VER%%
#

Is there a make target that lists all files installed by a port?

Cheers,
Anselm



More information about the freebsd-questions mailing list