From owner-freebsd-ports@FreeBSD.ORG Sun Aug 18 20:26:53 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 930327CF for ; Sun, 18 Aug 2013 20:26:53 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5021E2B02 for ; Sun, 18 Aug 2013 20:26:53 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id B33CE6A6004; Sun, 18 Aug 2013 22:26:51 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id r7IKQptI032306; Sun, 18 Aug 2013 22:26:51 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id r7IKQlnK030931; Sun, 18 Aug 2013 22:26:47 +0200 (CEST) (envelope-from lars) Date: Sun, 18 Aug 2013 22:26:47 +0200 From: Lars Engels To: "Sergey V. Dyatko" Subject: Re: Searching the port tree with portmaster? Message-ID: <20130818202647.GG60543@e-new.0x20.net> References: <090F0843-3C20-4B32-8670-C990FA4579BA@kreme.com> <20130815161241.GG1520@spamcop.net> <20130816083531.5e70c7ce@laptop.minsk.domain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p7qwJlK53pWzbayA" Content-Disposition: inline In-Reply-To: <20130816083531.5e70c7ce@laptop.minsk.domain> X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.4-RELEASE User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org 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: Sun, 18 Aug 2013 20:26:53 -0000 --p7qwJlK53pWzbayA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 16, 2013 at 08:35:31AM +0300, Sergey V. Dyatko wrote: > On Thu, 15 Aug 2013 12:12:41 -0400 > Jim Trigg wrote: >=20 > > On Thu, Aug 15, 2013 at 09:45:30AM -0600, LuKreme wrote: > > > On 15 Aug 2013, at 00:56 , Sergey V. Dyatko > > > wrote: > > >=20 > > > > man ports > > >=20 > > > > /search[enter] > > >=20 > > > cd /usr/ports && make search name=3Dpear-=20 > > > cd /usr/ports && make search name=3Dpear- xname=3D'ht(tp|ml)' > > >=20 > > > Well, OK. That seems a lot more effort, and loses your current > > > directory, but that does work. It's fugly though. > >=20 > > OK, so "alias search=3D'make -C /usr/ports search'". Then you can, as > > needed, "search name=3Dwhatever" (or whatever criteria you want to use). > >=20 > > Jim >=20 > 2 aliases from my .cshrc: >=20 > alias search_name "make -C /usr/ports/ > search name=3D'\!*' display=3Dname,path,info"=20 >=20 > alias search_key "make -C /usr/ports/ search key=3D'\!*' > display=3Dname,path,info" There's the "quicksearch" target which does exactly display name, path and info. >=20 > search_[name|key] smthng >=20 --p7qwJlK53pWzbayA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlIRLgcACgkQKc512sD3afi8TwCgjgKJILeoU1lmnY1/p+hfIMk+ t60AoKMhJL/MZbSUFCYCGfKDvF5TScLS =qZ6E -----END PGP SIGNATURE----- --p7qwJlK53pWzbayA--