search based on category [was: Re: ports/www is too full]
Roman Neuhauser
neuhauser at chello.cz
Wed Nov 10 01:03:48 GMT 2004
# kutulu at 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
-------------- next part --------------
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 \
More information about the freebsd-ports
mailing list