Subject: Re: mechanism to install man pages?
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/08/2005 17:05:13
>> Does pkgsrc provide a mechanism to install man pages, and if so which
>> are the relevant variables?
>
> Do you mean INSTALL_MAN_DIR and INSTALL_MAN?

Or use INSTALLATION_DIRS for the man directory. It will use 
INSTALL_MAN_DIR behind the scenes.

Also, please consider using ${PKGMANDIR} instead of hard-coding "man" 
(such as ${PREFIX}/${PKGMANDIR}/cat5/). (Similar to using ${INFO_DIR} 
also.)

Other variables include:

MANZ defined to compress, not defined means uncompressed.

MANCOMPRESSED used by package to indicate if already gzipped or not.

And MANCOMPRESSED_IF_MANZ is for few packages that may use bmake-style 
makefiles.

  Jeremy C. Reed

  	  	 	 technical support & remote administration
 	  	 	 http://www.pugetsoundtechnology.com/