git: 3aad6b2c44b3 - main - devel/bbparse: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 29 Mar 2024 08:21:14 UTC
The branch main has been updated by yasu:

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

commit 3aad6b2c44b36e70ad81c8fdc97fa04173495a70
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-29 08:02:34 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-29 08:02:34 +0000

    devel/bbparse: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/bbparse/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/devel/bbparse/Makefile b/devel/bbparse/Makefile
index 516877e7537a..fec5a74e914a 100644
--- a/devel/bbparse/Makefile
+++ b/devel/bbparse/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	bbparse
 PORTVERSION=	0.1.0
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -19,12 +20,12 @@ PIE_UNSAFE=	yes
 
 PLIST_FILES=	lib/libbbparse.a \
 		include/bbparse.h \
-		man/man3/libbbparse.3.gz
+		share/man/man3/libbbparse.3.gz
 
 MANPAGE_LINKS=	bbr_get_next bbr_get_stackname bbr_get_tlh bbr_init_fd bbr_init_file bbr_fini
 
 .for l in ${MANPAGE_LINKS}
-PLIST_FILES+=	man/man3/${l}.3.gz
+PLIST_FILES+=	share/man/man3/${l}.3.gz
 .endfor
 
 do-install:
@@ -32,9 +33,9 @@ do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/include
 	${INSTALL_DATA} ${WRKSRC}/libbbparse.a ${STAGEDIR}${PREFIX}/lib
 	${INSTALL_DATA} ${WRKSRC}/bbparse.h ${STAGEDIR}${PREFIX}/include
-	${INSTALL_MAN} ${WRKSRC}/libbbparse.3.gz ${STAGEDIR}${PREFIX}/man/man3
+	${INSTALL_MAN} ${WRKSRC}/libbbparse.3.gz ${STAGEDIR}${PREFIX}/share/man/man3
 .for l in ${MANPAGE_LINKS}
-	${RLN} ${STAGEDIR}${PREFIX}/man/man3/libbbparse.3.gz ${STAGEDIR}${PREFIX}/man/man3/${l}.3.gz
+	${RLN} ${STAGEDIR}${PREFIX}/share/man/man3/libbbparse.3.gz ${STAGEDIR}${PREFIX}/share/man/man3/${l}.3.gz
 .endfor
 
 .include <bsd.port.mk>