git: de2d9cc3c57f - main - devel/mercurial: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 11 Sep 2023 03:15:31 UTC
The branch main has been updated by sunpoet:

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

commit de2d9cc3c57fc7886bfcf16ad67f6ee8c41bddbc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-11 03:10:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-11 03:11:41 +0000

    devel/mercurial: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
---
 devel/mercurial/Makefile  | 6 +++---
 devel/mercurial/pkg-plist | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/devel/mercurial/Makefile b/devel/mercurial/Makefile
index cb3e937e4257..6c26b97fd52e 100644
--- a/devel/mercurial/Makefile
+++ b/devel/mercurial/Makefile
@@ -10,7 +10,7 @@ WWW=		https://www.mercurial-scm.org/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		cpe python shebangfix
@@ -63,8 +63,8 @@ PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
 .endif
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/man/man1/
-	${INSTALL_MAN} ${WRKSRC}/doc/*.5 ${STAGEDIR}${PREFIX}/man/man5/
+	${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/share/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/doc/*.5 ${STAGEDIR}${PREFIX}/share/man/man5/
 	${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} +
 
 post-install-DATA-on:
diff --git a/devel/mercurial/pkg-plist b/devel/mercurial/pkg-plist
index 5cbff357edfd..383135d7690c 100644
--- a/devel/mercurial/pkg-plist
+++ b/devel/mercurial/pkg-plist
@@ -26,6 +26,6 @@
 %%DATA%%%%DATADIR%%/www/hgweb.cgi
 %%DATA%%%%DATADIR%%/www/hgweb.fcgi
 %%DATA%%%%DATADIR%%/www/hgweb.wsgi
-man/man1/hg.1.gz
-man/man5/hgignore.5.gz
-man/man5/hgrc.5.gz
+share/man/man1/hg.1.gz
+share/man/man5/hgignore.5.gz
+share/man/man5/hgrc.5.gz