git: 5c475f0e7b40 - main - MAN?PREFIX: undefine those variables

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 08:02:31 UTC
The branch main has been updated by bapt:

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

commit 5c475f0e7b403f14ea9d8438b0b3e261c5173800
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-01-10 17:09:27 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-01-11 08:02:11 +0000

    MAN?PREFIX: undefine those variables
    
    MAN?PREFIX where confusing (people kept messing around with them)
    did not bring any real value or functionnality.
    
    Reviewed by:            portmgr (mat)
    Approved by:            portmgr (mat)
    Differential Revision:  https://reviews.freebsd.org/D43392
---
 CHANGES        | 6 ++++++
 Mk/bsd.port.mk | 9 ---------
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/CHANGES b/CHANGES
index 2b959a75614e..710d36ae6446 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,12 @@ in the release notes and/or placed into UPDATING.
 
 All ports committers are allowed to commit to this file.
 
+20230111:
+AUTHOR: bapt@FreeBSD.org
+
+  MAN[1-8LN]PREFIX variable has been removed from the framework, use PREFIX
+  directly.
+
 20230929:
 AUTHOR: sunpoet@FreeBSD.org
 
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 4b03eb491322..097f64d4b6ae 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -503,10 +503,6 @@ FreeBSD_MAINTAINER=	portmgr@FreeBSD.org
 #
 # MANPREFIX		- The directory prefix for manual pages.
 #				  Default: ${PREFIX}
-# MAN<sect>PREFIX
-#				- If manual pages of some sections install in different
-#				  locations than others, use these.
-#				  Default: ${MANPREFIX}
 #
 # Set the following to specify all .info files your port installs.
 #
@@ -2753,11 +2749,6 @@ MANDIRS+=	${PREFIX}/share/man
 .    endif
 
 MANDIRS+=	${MANPREFIX}/man
-.    for sect in 1 2 3 4 5 6 7 8 9
-MAN${sect}PREFIX?=	${MANPREFIX}
-.    endfor
-MANLPREFIX?=	${MANPREFIX}
-MANNPREFIX?=	${MANPREFIX}
 INFO_PATH?=	share/info
 
 .    if defined(INFO)