Subject: Re: CVS commit: pkgsrc/net/tnftp
To: None <tech-pkg@NetBSD.org, joerg@britannica.bec.de>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: tech-pkg
Date: 07/26/2006 16:48:58
> 
> > This is fine for most packages, but I think the difference here is that 
> > this is a potentially a bootstrap-installed package.  We may well want 
> > to provide some formatted catman pages for just the bootstrap-installed 
> > packages.
> 
> Are you talking about including cat pages (which it currently does and
> which are formated for NetBSD) or building them as part of the package
> build? Which brings up the much more interesting question: which
> platforms have a problem with this magic?
> 
> I think we have three different situations here:
> (a) Platforms which build catpages internally or don't use them at all.
> DragonFly and FreeBSD belong into the former, Plan9 would fall into the
> latter (no comments).
> (b) Platforms which use catpages only and have the proper tools
> installed already (troff/groff).
> (c) Platforms which use catpages only and *don't* have the tools for
> formating them.
> 
> For (a), we just should remove all created catpages on deinstall time.
> For (b), post-install can run troff/groff with the platform default
> settings even as part of the bootstrap.

I would add 
b-2) take care of the style of man : -man / -mandoc.
     Solaris have nroff but no -mandoc (I have a Solaris patch fot that)
     
Gilles

> Do we have examples for (c) and do we care strong enough about that?
> Most of the tree won't work correctly for that in the current situation.
> 
> Joerg