Searching the port tree with portmaster?

Jim Trigg jtrigg at spamcop.net
Thu Aug 15 16:18:02 UTC 2013


On Thu, Aug 15, 2013 at 09:45:30AM -0600, LuKreme wrote:
> On 15 Aug 2013, at 00:56 , Sergey V. Dyatko <sergey.dyatko at gmail.com> wrote:
> 
> > man ports
> 
> > /search[enter]
> 
> cd /usr/ports && make search name=pear- 
> cd /usr/ports && make search name=pear- xname='ht(tp|ml)'
> 
> Well, OK. That seems a lot more effort, and loses your current directory,
> but that does work. It's fugly though.

OK, so "alias search='make -C /usr/ports search'".  Then you can, as
needed, "search name=whatever" (or whatever criteria you want to use).

Jim


More information about the freebsd-ports mailing list