From owner-freebsd-ports@FreeBSD.ORG Mon Jun 11 19:20:05 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B00471065672; Mon, 11 Jun 2012 19:20:05 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 3DC228FC1A; Mon, 11 Jun 2012 19:20:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q5BJK4o6084397; Mon, 11 Jun 2012 13:20:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q5BJK4Jt084394; Mon, 11 Jun 2012 13:20:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 11 Jun 2012 13:20:04 -0600 (MDT) From: Warren Block To: Doug Barton In-Reply-To: Message-ID: References: <201206020012.q520CEcf057568@hugeraid.jetcafe.org> <20120602004230.GA14487@in-addr.com> <201206040224.q542OBqk085897@hugeraid.jetcafe.org> <20120604043233.GB32597@lonesome.com> <201206040841.q548fVHa091169@hugeraid.jetcafe.org> <201206041841.q54IfUow001060@hugeraid.jetcafe.org> <20120604191343.GF10783@isuckatdomains.isuckatdomains.net> <201206041932.q54JWONA001600@hugeraid.jetcafe.org> <4FCDA15C.2000700@digsys.bg> <201206061859.q56IxvLx045828@hugeraid.jetcafe.org> <4FCFC846.5050508@FreeBSD.org> <201206070527.q575R1sX052893@hugeraid.jetcafe.org> <4FD37B40.2030500@FreeBSD.org> <4FD3F149.10602@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 11 Jun 2012 13:20:04 -0600 (MDT) Cc: Dave Hayes , FreeBSD ports list Subject: Re: Documenting 'make config' options X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 19:20:05 -0000 On Mon, 11 Jun 2012, Warren Block wrote: > Here is a patch to do it. > > To use, apply patch. Pick a port and edit the option descriptions to be > longer than 49 characters. Then run 'make config'. > > Notes: > > This patch only does descriptions for the plain options right now. Changes to > the multi and single options would be the same thing. (Not done because I'm > hoping someone better at make(1) will have cleaner > methods.) > > There's a cosmetic problem. The last description line at the bottom of the > screen remains after dialog exits. I have not found a way to clear it in > dialog. And another note: VIS_WIDTH is set to 49 because that is the size available for a description on a standard 80x24 terminal (less one column for a "+" indicator). But it can be dynamically determined with dialog --print-maxsize.