git: 93e4564067e8 - main - devel/brz: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 10:01:56 UTC
The branch main has been updated by bofh:

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

commit 93e4564067e8093e5bc8fcbf65a3f2c094a86761
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 08:58:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 10:01:25 +0000

    devel/brz: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/brz/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/devel/brz/Makefile b/devel/brz/Makefile
index 6267b4f021c1..45968f523a59 100644
--- a/devel/brz/Makefile
+++ b/devel/brz/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	brz
 DISTVERSION=	3.2.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -40,8 +40,11 @@ CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root
 DULWICH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dulwich>=0:devel/py-dulwich@${PY_FLAVOR}
 SFTP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|man/man1|share/man/man1|' ${WRKSRC}/setup.py
+
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/brz.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/brz.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	${STRIP_CMD} \
 		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/breezy/*.so \
 		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/breezy/bzr/*.so