From owner-freebsd-ports@FreeBSD.ORG Fri Oct 3 20:05:53 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45F631065692 for ; Fri, 3 Oct 2008 20:05:53 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 1D76A8FC13 for ; Fri, 3 Oct 2008 20:05:52 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: (qmail 26478 invoked from network); 3 Oct 2008 20:05:52 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 3 Oct 2008 20:05:52 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id E543D2845C; Fri, 3 Oct 2008 16:05:50 -0400 (EDT) To: Marin Atanasov References: <20081002124704.GA54477@lpthe.jussieu.fr> <48E67175.80604@gmail.com> From: Lowell Gilbert Date: Fri, 03 Oct 2008 16:05:50 -0400 In-Reply-To: <48E67175.80604@gmail.com> (Marin Atanasov's message of "Fri\, 03 Oct 2008 22\:24\:37 +0300") Message-ID: <44myhl8mw1.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-ports@freebsd.org Subject: Re: My interactive version of pkg_add - finished! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 20:05:53 -0000 Marin Atanasov writes: > I was wondering how to create a man page for my program. > I was looking over the web, and found similar questions already posted, > but they all suggest that you take an existing copy of a man page and > edit it for your needs. Isn't there a guide or something on how to > create you own manual page for FreeBSD? Sure, if that's the way you prefer to do it. There's a template in the manual for the nroff macro package. I think mdoc is the usual package (as opposed to man), so take a look at "man groff_mdoc".