Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 1999 15:39:28 -0600
From:      Ade Lovett <ade@lovett.com>
To:        will andrews <andrews@technologist.com>
Cc:        "Bruce A. Mah" <bmah@CA.Sandia.GOV>, freebsd-ports@FreeBSD.ORG
Subject:   Re: Creating a port:  Manpage question
Message-ID:  <19991210153928.A30614@lovett.com>
In-Reply-To: <XFMail.991210155535.andrews@technologist.com>; from andrews@technologist.com on Fri, Dec 10, 1999 at 03:55:35PM -0500
References:  <199912101653.IAA92410@nimitz.ca.sandia.gov> <XFMail.991210155535.andrews@technologist.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 10, 1999 at 03:55:35PM -0500, will andrews wrote:
> On 10-Dec-99 Bruce A. Mah wrote:
> > Quick question, whose answer I couldn't find in the handbook:
> > 
> > When creating a port, what's the right procedure for installing a 
> > *formatted* manpage?
> > 
> > (The problem I have is that the original distfile doesn't supply troff
> > source for the manpage, just the nroff output.)
> 
> Sounds like you just need a nroff->troff converter then INSTALL_MAN
> manpage and use MANX where X = section of manpage.

Hmm.  I read the question as though the port has something that we'd
want to stick into .../cat<section>/<whatitis>.<section>.gz

In which case, to really DTRT, bsd.port.mk would have to be patched
to add CATx functionality alongside the existing MANx stuff, and the
port Makefile would then simply become, eg:

	CAT1= foo.1

In the meantime, I'd just treat the formatted manpage as just another
file (ie: not special like source manpages), and add them in to pkg/PLIST.

-aDe

-- 
Ade Lovett, Austin, TX.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991210153928.A30614>