git: 11f3301951e5 - main - irc/bip: Impelled to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 24 Jan 2024 10:20:35 UTC
The branch main has been updated by bofh:

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

commit 11f3301951e50d8fb35fa598fa9c176155582643
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-24 09:43:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-24 10:20:14 +0000

    irc/bip: Impelled to share/man
---
 irc/bip/Makefile  | 8 +++++---
 irc/bip/pkg-plist | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/irc/bip/Makefile b/irc/bip/Makefile
index b0e043371fb8..0fd39395a11c 100644
--- a/irc/bip/Makefile
+++ b/irc/bip/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	bip
 DISTVERSION=	0.9.0-rc4
+PORTREVISION=	1
 CATEGORIES=	irc
 MASTER_SITES=	https://projects.duckcorp.org/attachments/download/97/
 
@@ -11,6 +12,7 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 LDFLAGS+=	-L${LOCALBASE}/lib -L${OPENSSLLIB}
 CFLAGS+=	-Wno-sign-compare -Wno-error -I${OPENSSLINC}
 USES=		cpe gmake ssl
@@ -27,9 +29,9 @@ EXAMPLEFILES=	bip.conf bip.vim
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/bip.1 ${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/bipmkpw.1 ${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/bip.conf.5 ${STAGEDIR}${PREFIX}/man/man5
+	${INSTALL_MAN} ${WRKSRC}/bip.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKSRC}/bipmkpw.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKSRC}/bip.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/irc/bip/pkg-plist b/irc/bip/pkg-plist
index 727dfebcc051..6106c3798582 100644
--- a/irc/bip/pkg-plist
+++ b/irc/bip/pkg-plist
@@ -1,7 +1,7 @@
 bin/bip
 bin/bipmkpw
-man/man1/bip.1.gz
-man/man1/bipmkpw.1.gz
-man/man5/bip.conf.5.gz
+share/man/man1/bip.1.gz
+share/man/man1/bipmkpw.1.gz
+share/man/man5/bip.conf.5.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bip.conf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bip.vim