Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 May 2013 08:51:53 -0400
From:      Joe <fbsd8@a1poweruser.com>
To:        Jake Smith <jake@xz.cx>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Correct way to install preprocessed man pages
Message-ID:  <51810FE9.3070607@a1poweruser.com>
In-Reply-To: <703c644821753b62e163bba70643a2d9@m.xz.cx>
References:  <703c644821753b62e163bba70643a2d9@m.xz.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
Jake Smith wrote:
> Hi all,
> 
> I am putting a new port together, but the source for the man pages is 
> not provided in the source tar for the package (and I can't find a 
> public repo). Instead only the "preprocessed" version is included.
> 
> What is the correct way to install these man pages? Using INSTALL_MAN to 
> drop them in man/manX obviously causes formatting oddities, so should 
> they go in man/catX? I can see some other ports do this, but it seems a 
> bit hacky as the MAN[1-9] variables cannot be used and the man pages 
> will have to be listed in pkg_plist.
> 
> Any advice on this would be greatly appreciated!
> 
> Jake
> 

Open a project at www.sourceforge.net
Put your port source plus the man page source
IE: name.8 into a directory and tar it up.
Add that tar file to your sourceforge projects files.
It well become the source your port Makefile downloads
and the Makefile INSTALL_MAN routine will then have stuff to work on.

Good luck and welcome to the Freebsd ports system.




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