Staging support, man pages, MANx and portlint
freebsd.contact at marino.st
Tue Jan 21 17:49:28 UTC 2014
On 1/21/2014 16:06, Lev Serebryakov wrote:
> Hello, Ports.
> Wiki on Stage dir support says, that if port supports staging, MANx
> variables in Makefile is useless and I need simply list all man pages in
> pkg-plist and they will be gzipped automagically.
> portlint -A says, that I need to list all man pages as gzipped (xxx.1.gz,
> not xxx.1).
> But when I use non-standard path for man pages, man pages ARE NOT gzipped
> automagically, and they should be lsited in pkg-plist without ".gz" suffix,
> or "make package" will complain.
Why are you using a non-standard path for man pages?
You can using the post-install target to move them to their expected
location if the port installs them in the wrong place.
> How could I turn on gizpping of man pages in such case?
I know you already got your answer, but I think putting the pages in a
standard location is a better solution.
More information about the freebsd-ports