git: 01a3b02ec09e - main - editors/chexedit: install manpage into canonical location

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Tue, 08 Nov 2022 12:09:43 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=01a3b02ec09e444c1e63a77569f7421c49323376

commit 01a3b02ec09e444c1e63a77569f7421c49323376
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-11-07 16:54:49 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-11-08 12:09:18 +0000

    editors/chexedit: install manpage into canonical location
---
 editors/chexedit/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/editors/chexedit/Makefile b/editors/chexedit/Makefile
index d8b921d4d768..93fdc0552b0f 100644
--- a/editors/chexedit/Makefile
+++ b/editors/chexedit/Makefile
@@ -17,13 +17,13 @@ USES=		ncurses
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	ac_cv_header_ncurses_h=yes
 PLIST_FILES=	bin/chexedit \
-		man/man1/chexedit.1.gz
+		share/man/man1/chexedit.1.gz
 
 # Fix build on recent current
 CFLAGS+=	-fcommon
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/hexedit ${STAGEDIR}${PREFIX}/bin/chexedit
-	${INSTALL_MAN} ${WRKSRC}/docs/hexedit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/chexedit.1
+	${INSTALL_MAN} ${WRKSRC}/docs/hexedit.1 ${STAGEDIR}${MAN1PREFIX}/share/man/man1/chexedit.1
 
 .include <bsd.port.mk>