Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 18:48:54 +0100
From:      John Marino <freebsd.contact@marino.st>
To:        freebsd-ports@freebsd.org
Subject:   Re: Staging support, man pages, MANx and portlint
Message-ID:  <52DEB306.4040405@marino.st>
In-Reply-To: <1328952771.20140121190647@serebryakov.spb.ru>
References:  <1328952771.20140121190647@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52DEB306.4040405>