On Tue, 15 May 2007, Marc Espie wrote: > On Tue, May 15, 2007 at 08:02:15AM -0500, Ted Unangst wrote: > > marc, is something like this doable? > > Yeah, except that it would probably belong in pkg_create,
i thought about that, but how would it get in the plist then? > you need to be a bit more smart about generating man pages. Namely, > you have to look at the first lines of the page to figure out the pipeline > you want to run. it's careful to only build .[1-9] pages for now. i have 53 ports and no .z or such pages. i'm not sure what you mean by looking at the first few lines, since man doesn't do that. it built everything except dcgettext.3, body ".so man3/gettext.3" which is what the 64 byte size limit is for. it does makes lots of warnings about " eqn should have been given a `-Tascii' option" but i get that with man too. > > > + system("/usr/bin/nroff -man $dirname/$file > $cat"); > >