Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2010 08:25:51 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Fbsd1 <fbsd1@a1poweruser.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: How to make "man" pages
Message-ID:  <4BB2F8FF.7090707@infracaninophile.co.uk>
In-Reply-To: <4BB2BABF.9070401@a1poweruser.com>
References:  <4BB2BABF.9070401@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 31/03/2010 04:00:15, Fbsd1 wrote:
> Where can I find documentation on the procedure to create "man" pages
> for a port?

If you want to write a man page from scratch, probably the best way to
get started is to just copy a man page from the base system and edit it
to taste.  See groff(1) for documentation on the command used to format
man pages from source, and groff_mdoc(7) for details on the groff macro
syntax.  groff+mdoc might be a markup language, but it's nothing at all
like HTML.

If you're after how to install man pages for a port, then look at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-manpages.html

Note that the MANX and other ports Macros only affect the pkg-list and
compressing the man pages /after/ installation. You'll still have to put
in some code to copy your self-written man page into place.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuy+P8ACgkQ8Mjk52CukIxcggCeLR3OcpdwZ/OZGZv623DawCC9
E+4AoJNMvoINM9xkL2CdYBwz/ozPnAgK
=qVD0
-----END PGP SIGNATURE-----



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