From owner-freebsd-doc@FreeBSD.ORG Mon Oct 29 15:57:01 2007 Return-Path: Delivered-To: freebsd-docs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58CB716A41A for ; Mon, 29 Oct 2007 15:57:01 +0000 (UTC) (envelope-from dindin@yandex-team.ru) Received: from relanium.yandex.ru (relanium.yandex.ru [213.180.193.88]) by mx1.freebsd.org (Postfix) with ESMTP id 0BE2F13C44B for ; Mon, 29 Oct 2007 15:56:44 +0000 (UTC) (envelope-from dindin@yandex-team.ru) Received: from sepulcator.local.yandex.ru (dhcp250-185.yandex.ru [87.250.250.185]) by relanium.yandex.ru (8.14.1/8.14.1) with ESMTP id l9TEO3qn068959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 29 Oct 2007 17:24:03 +0300 (MSK) (envelope-from dindin@yandex-team.ru) Received: from sepulcator.local.yandex.ru (localhost [127.0.0.1]) by sepulcator.local.yandex.ru (8.14.1/8.13.8) with ESMTP id l9TEOM8h002754 for ; Mon, 29 Oct 2007 17:24:22 +0300 (MSK) (envelope-from dindin@yandex-team.ru) Received: (from dindin@localhost) by sepulcator.local.yandex.ru (8.14.1/8.13.8/Submit) id l9TEOM3A002753 for freebsd-docs@freebsd.org; Mon, 29 Oct 2007 17:24:22 +0300 (MSK) (envelope-from dindin@yandex-team.ru) X-Authentication-Warning: sepulcator.yandex.ru: dindin set sender to dindin@yandex-team.ru using -f Date: Mon, 29 Oct 2007 17:24:22 +0300 From: Denis Barov To: freebsd-docs@freebsd.org Message-ID: <20071029142422.GB1430@sepulcator.local.yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline X-Operating-System: FreeBSD sepulcator.local.yandex.ru 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Antivirus: Dr.Web (R) for Mail Servers on relanium.yandex.ru host X-Antivirus-Code: 100000 Cc: Subject: fwd: Re: docs/117593: icase and www make search variables aren't documented in ports man page X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 15:57:01 -0000 ----- Forwarded message from Denis Barov ----- Date: Mon, 29 Oct 2007 17:21:24 +0300 From: Denis Barov To: Nikolay Bachiyski Subject: Re: docs/117593: icase and www make search variables aren't documented in ports man page Message-ID: <20071029142124.GA1430@sepulcator.local.yandex.ru> References: <200710281020.l9SAKIbV019415@www.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <200710281020.l9SAKIbV019415@www.freebsd.org> X-Operating-System: FreeBSD sepulcator.local.yandex.ru 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE User-Agent: mutt-ng/devel-r804 (FreeBSD) Status: RO Content-Length: 4267 Lines: 136 On Sun Oct 28, 2007 at 10:20:18 +0000, Nikolay Bachiyski wrote: > > >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: > _______________________________________________ > freebsd-doc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" As we can see in ports/Mk/bsd.port.subdir.mk there a alot of undocumented options: cd ${PORTSDIR}; \ if [ -z "$$key" -a -z "$$xkey" -a \ -z "$$name" -a -z "$$xname" -a \ -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" -a \ -z "$$www" -a -z "$$xwww" ]; \ then \ ${ECHO_MSG} "The ${.TARGET} target requires a keyword parameter or name parameter,"; \ ${ECHO_MSG} "e.g.: \"make ${.TARGET} key=somekeyword\""; \ ${ECHO_MSG} "or \"make ${.TARGET} name=somekeyword\""; \ exit; \ fi; \ ${AWK} -F\| -v there="$$here/" -v top="$$(pwd -P)" \ -v key="$$key" -v xkey="$$xkey" \ -v name="$$name" -v xname="$$xname" \ -v path="$$path" -v xpath="$$xpath" \ -v info="$$info" -v xinfo="$$xinfo" \ -v maint="$$maint" -v xmaint="$$xmaint" \ -v cat="$$cat" -v xcat="$$xcat" \ -v bdeps="$$bdeps" -v xbdeps="$$xbdeps" \ -v rdeps="$$rdeps" -v xrdeps="$$xrdeps" \ -v www="$$www" -v xwww="$$xwww" \ -v icase="$${icase:-${PORTSEARCH_IGNORECASE}}" \ -v keylim="$${keylim:-${PORTSEARCH_KEYLIM}}" \ -v xkeylim="$${xkeylim:-${PORTSEARCH_XKEYLIM}}" \ -v display="$${display:-${PORTSEARCH_DISPLAY_FIELDS}}" \ -v xdisplay="$$xdisplay" -- Denis Barov Yandex http://www.yandex.ru WEB-Search Administtration Team e-mail: dindin@yandex-team.ru ----- End forwarded message -----