Searching the port tree with portmaster?
Sergey V. Dyatko
sergey.dyatko at gmail.com
Fri Aug 16 05:35:33 UTC 2013
On Thu, 15 Aug 2013 12:12:41 -0400
Jim Trigg <jtrigg at spamcop.net> wrote:
> 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
2 aliases from my .cshrc:
alias search_name "make -C /usr/ports/
search name='\!*' display=name,path,info"
alias search_key "make -C /usr/ports/ search key='\!*'
display=name,path,info"
search_[name|key] smthng
--
wbr, tiger
More information about the freebsd-ports
mailing list