From owner-svn-ports-all@freebsd.org Sat Mar 27 06:18:26 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5BBA25BA8AC; Sat, 27 Mar 2021 06:18:26 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6pYt1t7Fz4nBd; Sat, 27 Mar 2021 06:18:26 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from aniel.nours.eu (ns393929.ip-176-31-115.eu [176.31.115.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 177CC2F6DD; Sat, 27 Mar 2021 06:18:26 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from [127.0.0.1] (10.246.39.62.rev.sfr.net [62.39.246.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aniel.nours.eu (Postfix) with ESMTPSA id 7591F3B685; Sat, 27 Mar 2021 07:18:23 +0100 (CET) Date: Sat, 27 Mar 2021 06:18:26 +0000 (UTC) From: Baptiste Daroussin To: Cy Schubert Cc: Alexey Dokuchaev , Cy Schubert , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Message-ID: <03d8cbf0-1c34-417c-88b4-fdddd6c04524@FreeBSD.org> In-Reply-To: <202103270613.12R6D2gc071387@slippy.cwsent.com> References: <202103270245.12R2j5Ww059339@repo.freebsd.org> <20210327040518.GA30283@FreeBSD.org> <202103270441.12R4f6Qq059634@slippy.cwsent.com> <20210327060528.d62mjonjx6776lsq@aniel.nours.eu> <202103270613.12R6D2gc071387@slippy.cwsent.com> Subject: Re: svn commit: r569288 - head/devel/bitkeeper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: <03d8cbf0-1c34-417c-88b4-fdddd6c04524@FreeBSD.org> X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2021 06:18:26 -0000 27 mars 2021 07:13:10 Cy Schubert : > In message <20210327060528.d62mjonjx6776lsq@aniel.nours.eu>, Baptiste > Daroussin > writes: >> >> >> --4foob2fxu5qn7xlx >> Content-Type: text/plain; charset=3Dus-ascii >> Content-Disposition: inline >> Content-Transfer-Encoding: quoted-printable >> >> On Fri, Mar 26, 2021 at 09:41:06PM -0700, Cy Schubert wrote: >>> In message <20210327040518.GA30283@FreeBSD.org>, Alexey Dokuchaev write= s: >>>> On Sat, Mar 27, 2021 at 02:45:05AM +0000, Cy Schubert wrote: >>>>> New Revision: 569288 >>>>> URL: https://svnweb.freebsd.org/changeset/ports/569288 >>>>> =3D20 >>>>> Log: >>>>> =C2=A0 devel/bitkeeper: pet portlint: compress man pages >>>>> =3D20 >>>>> =C2=A0 Compress man pages satisfying portlint. >>>> >>>> Well, no, we compress manpages to satisfy common sense and save some >>>> disk space. :-) >>>> >>>>> ... >>>>> - ${MAKE_CMD} DESTDIR=3D3D${STAGEDIR}${PREFIX}/bitkeeper ${INSTALL_ >> TARG=3D >> ET}) >>>>> + ${MAKE_CMD} DESTDIR=3D3D${STAGEDIR}${PREFIX}/bitkeeper ${INSTALL_ >> TARG=3D >> ET});=3D20 >>>> \ >>>>> + ${GZIP_CMD} ${STAGEDIR}${PREFIX}/bitkeeper/man/man1/* >>>>> + >>>>> =3D20 >>>>> .include >>>> >>>> Why not amend MANDIRS to include custom manpage directory so that the >>>> standard `compress-man' from b.p.m could do its work?=C2=A0 Also, you'= ve >>>> inserted superfluous linefeed there. >>> =3D20 >>> I forgot about that, thanks. I used MANPREFIX instead. >>> =3D20 >> >> MANDIRS is the right thing to use, MANPREFIX is not support to be overwr= itt=3D >> en >> and only works by accident here. >> >> MANDIRS is the list of directories where we expect to lookup for manpage= s to >> compress them. >> >> Second if you do install manpages in unusual location, it is expected th= at =3D >> you >> add this location into manpath for the users to be able to actually acce= ss =3D >> those >> manpages. > > As in a pkg-message advising users to add the man pages to their MANPATH. Right my point was about adding a bk.conf in man.d :) > >> >> Somehow many ports seems to forget to do it. A good example of what to d= o h=3D >> ere >> is shown by the perl port which adds a perl5.conf to ETCDIR/man.d (so do= es =3D >> npm) >> >> Best regards, >> Bapt > > > -- > Cheers, > Cy Schubert > FreeBSD UNIX:=C2=A0 =C2=A0=C2=A0 Web:=C2=A0 https://FreeB= SD.org > NTP:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 Web:=C2=A0 https://nwtime.org > > =C2=A0 The need of the many outweighs the greed of the few.