git: 4cb3e81c747f - main - sysutils/consolehm: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Sat, 16 Mar 2024 20:09:15 UTC
The branch main has been updated by naddy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4cb3e81c747f71b6c308f7fe3afa4bbd8a5cd219

commit 4cb3e81c747f71b6c308f7fe3afa4bbd8a5cd219
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-16 20:05:13 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-16 20:05:13 +0000

    sysutils/consolehm: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/consolehm/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sysutils/consolehm/Makefile b/sysutils/consolehm/Makefile
index 442e343cbe3d..21e615365580 100644
--- a/sysutils/consolehm/Makefile
+++ b/sysutils/consolehm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	consolehm
 PORTVERSION=	1.31
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	LOCAL/fenner
 
@@ -12,8 +12,10 @@ BROKEN_aarch64=	fails to build: fatal error: 'machine/pio.h' file not found
 USES=		uidfix
 GNU_CONFIGURE=	yes
 WRKSRC=		${WRKDIR}/consolehm/consolehm
-MAKE_ARGS+=	-e
+MAKE_ARGS=	PREFIX="${PREFIX}" \
+		MANDIR="${PREFIX}/share/man/man"
+MAKE_ENV=	ARCH=${ARCH}
 
-PLIST_FILES=	bin/chm man/man8/chm.8.gz
+PLIST_FILES=	bin/chm share/man/man8/chm.8.gz
 
 .include <bsd.port.mk>