Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 06:18:26 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Cy Schubert <Cy.Schubert@cschubert.com>
Cc:        Alexey Dokuchaev <danfe@freebsd.org>, Cy Schubert <cy@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r569288 - head/devel/bitkeeper
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>

next in thread | previous in thread | raw e-mail | index | archive | help

27 mars 2021 07:13:10 Cy Schubert <Cy.Schubert@cschubert.com>:

> 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 <bsd.port.mk>
>>>>
>>>> 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 <Cy.Schubert@cschubert.com>
> FreeBSD UNIX:=C2=A0 <cy@FreeBSD.org>=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 <cy@nwti=
me.org>=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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03d8cbf0-1c34-417c-88b4-fdddd6c04524>