From owner-freebsd-ports@FreeBSD.ORG Thu Aug 15 16:18:02 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2845B31A for ; Thu, 15 Aug 2013 16:18:02 +0000 (UTC) (envelope-from jtrigg@spamcop.net) Received: from argent.heraldsnet.net (argent.heraldsnet.net [69.60.117.17]) by mx1.freebsd.org (Postfix) with ESMTP id 034FE2A3D for ; Thu, 15 Aug 2013 16:18:01 +0000 (UTC) Received: by argent.heraldsnet.net (Postfix, from userid 11001) id E4E7A5C94; Thu, 15 Aug 2013 12:12:41 -0400 (EDT) Date: Thu, 15 Aug 2013 12:12:41 -0400 From: Jim Trigg To: freebsd-ports@freebsd.org Subject: Re: Searching the port tree with portmaster? Message-ID: <20130815161241.GG1520@spamcop.net> References: <090F0843-3C20-4B32-8670-C990FA4579BA@kreme.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <090F0843-3C20-4B32-8670-C990FA4579BA@kreme.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 16:18:02 -0000 On Thu, Aug 15, 2013 at 09:45:30AM -0600, LuKreme wrote: > On 15 Aug 2013, at 00:56 , Sergey V. Dyatko 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