Hi Bryan, Brynet wrote on Wed, May 18, 2011 at 11:51:33AM -0400:
> I added USE_GROFF because the build broke otherwise.. Correct, xbattbar uses Imake, so USE_GROFF is required for now. > I know crap about man pages. In case you are interested, have a look at http://www.openbsd.org/faq/ports/specialtopics.html#Mandoc I just added a sentence there making it explicit that ports using Imake require USE_GROFF for now. > Should xbattbar.man be copied as-is to ${LOCALDIR}/man/cat1/xbattbar.0? No, xbattbar.man is an mdoc(7) source file and must not be installed in a cat directory. But if you would manage to convince the Imake build system to copy xbattbar.man to ${LOCALDIR}/man/man1/xbattbar.1 as-is instead of processing it with groff at build time, that would do the trick of letting mandoc do the formatting on demand by man(1), and that would even improve the formatting: - nicer SYNOPSIS indentation - proper inter-sentence spacing near "battery charging level. These colors can be" and "-I and -O options. In the other case" Yours, Ingo