[Bug 268485] sysutils/topgrade: Update to 10.2.4

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Dec 2022 09:59:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268485

--- Comment #3 from Nuno Teixeira <eduardo@FreeBSD.org> ---
(In reply to freebsd from comment #2)

For go ports, e.g., sysutils/kopia:
---
post-build:
        ${GO_WRKDIR_BIN}/${PORTNAME} --log-dir="" --help-man >
${WRKSRC}/${PORTNAME}.1

post-install:
        ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1
${STAGEDIR}${PREFIX}/share/man/man1
---

We need to check what best option for rust/cargo ports because there is no
GO_WRKDIR_BIN equivalent for rust.

Could you try:
---
post-install:
        ${PORTNAME} --gen-manpage > ${WRKSRC}/${PORTNAME}.8
        ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8
${STAGEDIR}${PREFIX}/share/man/man8
---

I can't remember where rust binaries are built before they go to stage
(usr/local/bin).

Tomorrow I will have time to test it.

Related to sys-info-rs fix, it is for 32 bit archs. Thats why I've asked if it
is fixed upstream.

Cheers

-- 
You are receiving this mail because:
You are the assignee for the bug.