Correct way to install preprocessed man pages

Joe fbsd8 at a1poweruser.com
Wed May 1 12:52:02 UTC 2013


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.



More information about the freebsd-ports mailing list