Documenting 'make config' options
Warren Block
wblock at wonkity.com
Mon Jun 11 19:20:05 UTC 2012
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.
More information about the freebsd-ports
mailing list