From nobody@FreeBSD.org  Sun Oct 28 10:20:54 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B959F16A417
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Oct 2007 10:20:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A95FB13C4B9
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Oct 2007 10:20:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SAKIJ3019416
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Oct 2007 10:20:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l9SAKIbV019415;
	Sun, 28 Oct 2007 10:20:18 GMT
	(envelope-from nobody)
Message-Id: <200710281020.l9SAKIbV019415@www.freebsd.org>
Date: Sun, 28 Oct 2007 10:20:18 GMT
From: Nikolay Bachiyski <nbachiyski@developer.bg>
To: freebsd-gnats-submit@FreeBSD.org
Subject: icase and www make search variables aren't documented in ports man page
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117593
>Category:       docs
>Synopsis:       [patch] icase and www make search variables aren't documented in ports man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gabor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 28 10:30:01 UTC 2007
>Closed-Date:    Fri Jan 04 13:45:09 UTC 2008
>Last-Modified:  Fri Jan 04 13:45:09 UTC 2008
>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:
Responsible-Changed-From-To: freebsd-doc->gabor 
Responsible-Changed-By: gabor 
Responsible-Changed-When: Fri Dec 21 15:32:32 UTC 2007 
Responsible-Changed-Why:  
I will take a look. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117593 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/117593: commit references a PR
Date: Fri, 21 Dec 2007 21:32:19 +0000 (UTC)

 gabor       2007-12-21 21:32:12 UTC
 
   FreeBSD src repository (doc,ports committer)
 
   Modified files:
     share/man/man7       ports.7 
   Log:
   - Document icase variable of make search, which can be used to control
     case-sensitivity
   
   PR:             docs/117593
   Submitted by:   Nikolay Bachiyski <nbachiyski@developer.bg>
   
   Revision  Changes    Path
   1.62      +12 -2     src/share/man/man7/ports.7
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: gabor 
State-Changed-When: Fri Dec 21 21:57:50 UTC 2007 
State-Changed-Why:  
Patched in HEAD, MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117593 
State-Changed-From-To: patched->closed 
State-Changed-By: gabor 
State-Changed-When: Fri Jan 4 13:44:56 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117593 
>Unformatted:
