git: e83c20807540 - main - sysutils/mapdir: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 06:02:16 UTC
The branch main has been updated by bofh:

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

commit e83c20807540cd995eaf203b51bba16eb0781fd4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 05:53:42 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 06:01:51 +0000

    sysutils/mapdir: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/mapdir/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sysutils/mapdir/Makefile b/sysutils/mapdir/Makefile
index db8a2490fa9d..8117721157a2 100644
--- a/sysutils/mapdir/Makefile
+++ b/sysutils/mapdir/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mapdir
 PORTVERSION=	1.2.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://www.olivermahmoudi.com/files/
 
@@ -17,8 +18,8 @@ NO_BUILD=	yes
 
 PLIST_FILES=	bin/mapdir \
 		bin/mapdircmp \
-		man/man1/mapdir.1.gz \
-		man/man1/mapdircmp.1.gz
+		share/man/man1/mapdir.1.gz \
+		share/man/man1/mapdircmp.1.gz
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
@@ -37,7 +38,7 @@ post-patch:
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}cmp ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}cmp.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}cmp.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>