git: 8a740a653808 - main - lang/python311: Impelled to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 16:00:25 UTC
The branch main has been updated by bofh:

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

commit 8a740a6538086914384508d2c867ef28918d7bed
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 15:59:38 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 15:59:58 +0000

    lang/python311: Impelled to share/man
    
    Approved by:    portmgr (blanket)
---
 lang/python311/Makefile  | 2 ++
 lang/python311/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/lang/python311/Makefile b/lang/python311/Makefile
index 7a79bb544cce..9b8d5e69df96 100644
--- a/lang/python311/Makefile
+++ b/lang/python311/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	python
 DISTVERSION=	${PYTHON_DISTVERSION}
+PORTREVISION=	1
 CATEGORIES=	lang python
 MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}
 PKGNAMESUFFIX=	${PYTHON_SUFFIX}
@@ -19,6 +20,7 @@ USES=		compiler:c11 cpe ncurses pathfix pkgconfig \
 PATHFIX_MAKEFILEIN=	Makefile.pre.in
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 python_CMD=	${PREFIX}/bin/python${PYTHON_DISTVERSION:R}
 SHEBANG_FILES=	Lib/*.py Lib/*/*.py Lib/*/*/*.py Lib/*/*/*/*.py
 SHEBANG_FILES+=	Lib/test/ziptestdata/exe_with_z64 \
diff --git a/lang/python311/pkg-plist b/lang/python311/pkg-plist
index 5db4901c264e..a2088d8bdde0 100644
--- a/lang/python311/pkg-plist
+++ b/lang/python311/pkg-plist
@@ -7930,4 +7930,4 @@ lib/libpython%%PYTHON_VER%%%%ABI%%.so.1.0-gdb.py
 %%PYTHON_LIBDIR%%/zoneinfo/_zoneinfo.py
 libdata/pkgconfig/python-%%PYTHON_VER%%-embed.pc
 libdata/pkgconfig/python-%%PYTHON_VER%%.pc
-man/man1/python%%PYTHON_VER%%.1.gz
+share/man/man1/python%%PYTHON_VER%%.1.gz