Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2013 12:12:41 -0400
From:      Jim Trigg <jtrigg@spamcop.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Searching the port tree with portmaster?
Message-ID:  <20130815161241.GG1520@spamcop.net>
In-Reply-To: <090F0843-3C20-4B32-8670-C990FA4579BA@kreme.com>
References:  <F190CCA1-DF98-4EEA-8C14-E5AC3BC86AF0@kreme.com> <CA%2BtpaK1QS=dhgkWsJCq2nM8%2BgPbMTO4jXxoRSK5yorDJCMXHmQ@mail.gmail.com> <090F0843-3C20-4B32-8670-C990FA4579BA@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 15, 2013 at 09:45:30AM -0600, LuKreme wrote:
> On 15 Aug 2013, at 00:56 , Sergey V. Dyatko <sergey.dyatko@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



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