git: 01e4bf75a362 - main - lang/python27: Impelled to share/man

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

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

commit 01e4bf75a362f3c8437ce587a400a452fbc00ab4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 19:20:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 19:56:19 +0000

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

diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 48b32c416cef..44c4fa1ed2c1 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	python
 DISTVERSION=	${PYTHON_DISTVERSION}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang python
 MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION}
 PKGNAMESUFFIX=	27
@@ -20,6 +20,7 @@ USES=		cpe ncurses pathfix pkgconfig readline shebangfix ssl tar:xz
 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/lib2to3/pgen2/*.py Lib/lib2to3/tests/*.py Lib/lib2to3/tests/data/*.py \
 		Lib/idlelib/*.py Lib/encodings/*.py Lib/test/*.py Lib/UserString.py \
diff --git a/lang/python27/pkg-plist b/lang/python27/pkg-plist
index 4d8dc5b06c81..d6b52910f39c 100644
--- a/lang/python27/pkg-plist
+++ b/lang/python27/pkg-plist
@@ -4581,4 +4581,4 @@ lib/python2.7/zipfile.py
 lib/python2.7/zipfile.pyc
 lib/python2.7/zipfile.pyo
 libdata/pkgconfig/python-2.7.pc
-man/man1/python2.7.1.gz
+share/man/man1/python2.7.1.gz