Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2004 02:03:47 +0100
From:      Roman Neuhauser <neuhauser@chello.cz>
To:        Mike Edenfield <kutulu@kutulu.org>
Cc:        freebsd-ports@freebsd.org
Subject:   search based on category [was: Re: ports/www is too full]
Message-ID:  <20041110010347.GA5889@isis.wad.cz>
In-Reply-To: <4179366C.9010404@kutulu.org>
References:  <20041022074529.GN10363@k7.mavetju> <41791AF7.2050009@vonostingroup.com> <200410221824.12294.benlutz@datacomm.ch> <4179366C.9010404@kutulu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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