Bug 269027 - /usr/ports/Mk/*: Unify where manpages should go by default
Summary: /usr/ports/Mk/*: Unify where manpages should go by default
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-18 14:38 UTC by Daniel Engberg
Modified: 2024-01-05 19:04 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2023-01-18 14:38:21 UTC
Having a quick look...

configure args defaults to man
https://cgit.freebsd.org/ports/tree/Mk/bsd.port.mk#n2682

Meson defaults to man
https://cgit.freebsd.org/ports/tree/Mk/Uses/meson.mk#n36

CMake don't due to https://gitlab.kitware.com/cmake/cmake/-/commit/c07bba27302960fc2f35b6a9e00eab8b32ca9a49 (discussion here, https://gitlab.kitware.com/cmake/cmake/-/issues/22883)

lxqt defaults to share/man (via CMake)
https://cgit.freebsd.org/ports/tree/Mk/Uses/lxqt.mk#n42

bapt added this 20200115, https://cgit.freebsd.org/ports/tree/CHANGES#n451

We also have a bunch of CMake ports manually redefining CMAKE_INSTALL_MANDIR to man

As adridg noted in the discussion for CMake man is much more commonly used compared to share/man however that doesn't necessarily mean its the correct way to go.

Best regards,
Daniel
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2024-01-05 19:04:37 UTC
all should go to share/man