Re: Call for help: moving manpages to share/man

From: Rodrigo Osorio <ros_at_bebik.net>
Date: Sun, 21 Jan 2024 17:13:02 UTC
On 21/01/24 17:44, Rainer Hurling wrote:
> Am 21.01.24 um 11:19 schrieb Gleb Popov:
>> Ahoy there fellow porters!
>>
>> portmgr@ is currently working on switching the directory into which
>> man pages are installed from "${PREFIX}/man" to "${PREFIX}/share/man".
>> It is quite a tedious process, as you might imagine. More than that,
>> changing the default for a given build system instantly breaks all
>> ports that use it, which means that this task can't be done
>> incrementally in the main branch.
>>
>> I've created a branch [1] in my own fork that switches mandir for the
>> autotools build system and am inviting everyone to collaborate on
>> that, until all the fallout is fixed. I'm asking port maintainers to
>> check if they have ports with the "GNU_CONFIGURE=yes" knob, as these
>> are most likely broken by the switch. Moin kindly prepared a list of
>> affected ports along with their maintainers (thanks Moin!) [2]
>>
>> In the most simple case you'll only need to change the pkg-plist, as I
>> did in this example commit [3]. Make sure to bump PORTREVISION as
>> we're altering the package's contents by this change. Also put the
>> "Approved by: portmgr (blanket)" tag in the commit message, as the
>> whole initiative was approved by the portmgr@ group.
>>
>> If you want to collaborate either create a pull request on GH against
>> my branch or just send me a git format-patch output for your change.
>>
>> Thanks beforehand to everyone going to help!
>>
>> [1] https://github.com/arrowd/freebsd-ports/tree/autotools-mandir
>> [2] http://arrowd.name/manprefix-fail.maintainer.txt
>> [3] 
>> https://github.com/arrowd/freebsd-ports/commit/cc288e9b742cd54640e06737334dd57d88d45f6d
>>
>
>
> Ahoy, dear skipper!
>
> Thank you for all the work you and others put into this change.
>
> I am represented in Moin's list with three ports (maintainer rhurlin), 
> all three of which are 'pure' Python ports:
>
> - astro/py-ephem
> - textproc/py-python-lsp-jsonrpc
> - textproc/py-whatthepatch  (waiting for an update of setuptools)
>
> All three ports do not generate any man pages. So I don't understand 
> why they are included in the list. Or is it different if autotools is 
> used?
>
> Thanks in advance for any clarification.
>
> Best wishes from a crew member,
> Rainer
>
Hi,

Just a reminder :p
you can also obtain an updated list of ports to be updated using the 
following command

pkg provides "^/usr/local/man"

Cheers
-- Rodrigo