Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 21:29:50 -0600
From:      Craig Boston <craig@yekse.gank.org>
To:        Brian Reichert <reichert@numachi.com>
Cc:        Andy Fawcett <andy@athame.co.uk>, freebsd-ports@freebsd.org
Subject:   Re: Does a port contain 'kdict'?
Message-ID:  <20060215032949.GB9931@nowhere>
In-Reply-To: <20060214214853.GY58140@numachi.com>
References:  <20060214161949.GV58140@numachi.com> <200602141844.02201.andy@athame.co.uk> <20060214214853.GY58140@numachi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 14, 2006 at 04:48:53PM -0500, Brian Reichert wrote:
> Cool!  Thanks!
> 
> Now, a question for the masses:
> 
> How _should_ I have learned that this port contained kdict?  Is
> there a master database somewhere of 'pkg_info -L' indexed somewhere?

I tend to prefer

find /usr/ports -name 'pkg-plist' -exec grep -H kdict \{\} \;

That won't find it if it's in a port that uses a dynamic or
Makefile-swallowed plist, but I find it gets what I'm looking for 98% of
the time.  Now I'm sure someone will post a much more efficient method
using xargs or some such :)

Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060215032949.GB9931>