Hi, I noticed that some packages, which use scdoc TOOL_DEPENDS to generate man files, have to set the post-install phase to manually gen and install the man files, because the build tool can’t find scdoc. To fix this I added the scdoc/tool.mk file, which links the scdoc binary, and the pkg-config file to BUILDLINK_DIR. I tested with waybar package from pkgsrc-wip, and it seems to work. Useful for packages: * pkgsrc: chat/senpai chat/soju time/uair x11/alacritty * pkgsrc-wip: labwc seatd sway swaybg waybar Could you review this tool.mk? If it seems ok, I would like to commit to pkgsrc, with a scdoc version update. -- Regards, kikadf
Attachment:
tool.mk
Description: Binary data