git: 4022ad5dd096 - main - lang/python39: Impelled to share/man

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

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

commit 4022ad5dd096787b484fed43326e7ff9489da889
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 15:34:26 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 15:59:54 +0000

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

diff --git a/lang/python39/Makefile b/lang/python39/Makefile
index 2d9187599d7f..9f5bf1806786 100644
--- a/lang/python39/Makefile
+++ b/lang/python39/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	python
 DISTVERSION=	${PYTHON_DISTVERSION}
+PORTREVISION=	1
 CATEGORIES=	lang python
 MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION}
 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/python39/pkg-plist b/lang/python39/pkg-plist
index d68eee4f8955..e376d06c34c1 100644
--- a/lang/python39/pkg-plist
+++ b/lang/python39/pkg-plist
@@ -7399,4 +7399,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