Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2008 22:10:31 +0200
From:      Anselm Strauss <amsibamsi@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Search for files in not installed ports
Message-ID:  <1104DBED-3685-4C95-BE54-CFC2AFC9E751@gmail.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1104DBED-3685-4C95-BE54-CFC2AFC9E751>