Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2004 03:36:38 +0200
From:      "Radek Kozlowski" <radek@raadradd.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/73299: [PATCH] ports/Mk/bsd.port.subdir.mk: add search by category
Message-ID:  <1099100198.0@ddardaar>
Resent-Message-ID: <200410300140.i9U1eJnN034217@freefall.freebsd.org>

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

>Number:         73299
>Category:       ports
>Synopsis:       [PATCH] ports/Mk/bsd.port.subdir.mk: add search by category
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 30 01:40:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radek Kozlowski
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 5.3-RELEASE #8: Mon Oct 25 04:39:44 CEST 2004
    root@ddardaar:/usr/obj/usr/src/sys/DDARDAAR



>Description:


Add the possibility to search the ports by category.


>How-To-Repeat:


raadradd@ddardaar:/usr/ports> make search cat=gnome display=name,cat 
The search target requires a keyword parameter or name parameter,
e.g.: "make search key=somekeyword"
or    "make search name=somekeyword"

>From ports(7):

search           Search the INDEX file for the pattern specified by the
                    key (searches the port name, comment, and dependencies),
                    name (searches the port name only), path (searches the
                    port path), info (searches the port info), maint
                    (searches the port maintainer), cat (searches the port
                                                              ^^^
                    category) [...]


>Fix:


--- bsd.port.subdir.mk.diff begins here ---
--- bsd.port.subdir.mk.orig	Fri Oct 29 16:18:37 2004
+++ bsd.port.subdir.mk	Sat Oct 30 03:23:16 2004
@@ -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 \
--- bsd.port.subdir.mk.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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