git: 901765b2d636 - main - mail/py-afew: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 10 Mar 2024 09:56:14 UTC
The branch main has been updated by eduardo:

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

commit 901765b2d6365e339159eaebaea77f12b24425d1
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-10 09:43:44 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-10 09:55:40 +0000

    mail/py-afew: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 mail/py-afew/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mail/py-afew/Makefile b/mail/py-afew/Makefile
index 2415a1f8fb49..75a431f971c7 100644
--- a/mail/py-afew/Makefile
+++ b/mail/py-afew/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	afew
 DISTVERSION=	3.0.1
+PORTREVISION=	1
 CATEGORIES=	mail python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -26,7 +27,7 @@ OPTIONS_DEFAULT=	MANPAGES
 
 DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
 MANPAGES_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
-MANPAGES_PLIST_FILES=	man/man1/afew.1.gz
+MANPAGES_PLIST_FILES=	share/man/man1/afew.1.gz
 
 PORTDOCS=	*
 
@@ -34,7 +35,7 @@ post-build-MANPAGES-on:
 	cd ${WRKSRC} && ${PYTHON_CMD} setup.py build_sphinx -b man
 
 post-install-MANPAGES-on:
-	${INSTALL_MAN} ${WRKSRC}/build/sphinx/man/afew.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/build/sphinx/man/afew.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 post-build-DOCS-on:
 	cd ${WRKSRC} && ${PYTHON_CMD} setup.py build_sphinx -b html