From owner-freebsd-ports@FreeBSD.ORG Wed Nov 10 01:03:48 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FF2A16A4CE for ; Wed, 10 Nov 2004 01:03:48 +0000 (GMT) Received: from smradoch.ath.cx (r2g224.chello.upc.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A16D43D31 for ; Wed, 10 Nov 2004 01:03:48 +0000 (GMT) (envelope-from neuhauser@chello.cz) Received: by smradoch.ath.cx (Postfix, from userid 1001) id 478011F87BED; Wed, 10 Nov 2004 02:03:47 +0100 (CET) Date: Wed, 10 Nov 2004 02:03:47 +0100 From: Roman Neuhauser To: Mike Edenfield Message-ID: <20041110010347.GA5889@isis.wad.cz> Mail-Followup-To: Mike Edenfield , Benjamin Lutz , freebsd-ports@freebsd.org References: <20041022074529.GN10363@k7.mavetju> <41791AF7.2050009@vonostingroup.com> <200410221824.12294.benlutz@datacomm.ch> <4179366C.9010404@kutulu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <4179366C.9010404@kutulu.org> User-Agent: Mutt/1.5.6i cc: Benjamin Lutz cc: freebsd-ports@freebsd.org Subject: search based on category [was: Re: ports/www is too full] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 01:03:48 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline # kutulu@kutulu.org / 2004-10-22 12:33:48 -0400: > tcl84 isn't a real folders, but it's listed in a number of port's > $ make search key=tcl84 | grep "Port:" | wc -l > 40 > > One thing I don't see is a way to search or sort by category, but I > admit to not having looking very hard. You should be able to say make search cat=tcl84 but the search target has a bug that prevents this from working. I've just submitted a PR; you can use the attached patch in the meantime. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="Mk::bsd.port.subdir.mk.search-cat.patch" Index: Mk/bsd.port.subdir.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.subdir.mk,v retrieving revision 1.55 diff -u -r1.55 bsd.port.subdir.mk --- Mk/bsd.port.subdir.mk 14 Jul 2004 08:18:16 -0000 1.55 +++ Mk/bsd.port.subdir.mk 10 Nov 2004 00:46:16 -0000 @@ -332,6 +332,7 @@ -z "$$path" -a -z "$$xpath" -a \ -z "$$info" -a -z "$$xinfo" -a \ -z "$$maint" -a -z "$$xmaint" -a \ + -z "$$cat" -a -z "$$xcat" -a \ -z "$$bdeps" -a -z "$$xbdeps" -a \ -z "$$rdeps" -a -z "$$xrdeps" ]; \ then \ --SUOF0GtieIMvvwua--