Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2007 10:20:18 GMT
From:      Nikolay Bachiyski <nbachiyski@developer.bg>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/117593: icase and www make search variables aren't documented in ports man page
Message-ID:  <200710281020.l9SAKIbV019415@www.freebsd.org>
Resent-Message-ID: <200710281030.l9SAU1lL082832@freefall.freebsd.org>

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

>Number:         117593
>Category:       docs
>Synopsis:       icase and www make search variables aren't documented in ports man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 28 10:30:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Nikolay Bachiyski
>Release:        FreeBSD 7.0-BETA1.5
>Organization:
>Environment:
>Description:
make search accepts two variables, which aren't documented:
* www -- searches in the port web site
* icase -- ignore case, helps case-sensitive searches
>How-To-Repeat:

>Fix:
A patch for HEAD is applied.

Patch attached with submission follows:

--- ports.7.orig	Wed Aug 22 21:11:26 2007
+++ ports.7	Sun Oct 28 11:52:13 2007
@@ -274,7 +274,9 @@
 .Va bdeps
 (searches the port build-time dependency),
 .Va rdeps
-(searches the port run-time dependency)
+(searches the port run-time dependency),
+.Va www
+(searches the port web site)
 .Xr make 1
 variables, and their exclusion counterparts:
 .Va xname , xkey
@@ -317,6 +319,14 @@
 .Dq Li apache
 in either of the name, path, info
 fields, ignore the rest of the record.
+.Pp
+By default the search is case-insensitive. In order to
+make it case-sensitive you can use the
+.Va icase
+variable:
+.Bd -literal -offset indent
+make search name=p5-R icase=0
+.Ed
 .It Cm quicksearch
 Reduced
 .Cm search


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



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