git: 74bb2919240f - main - lang/racket-minimal: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 20:27:20 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=74bb2919240f596af94969cf75db22106778e9ec

commit 74bb2919240f596af94969cf75db22106778e9ec
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 18:29:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 20:26:40 +0000

    lang/racket-minimal: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 lang/racket-minimal/Makefile  | 3 ++-
 lang/racket-minimal/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/lang/racket-minimal/Makefile b/lang/racket-minimal/Makefile
index 2f978ef3814d..8175a3bfda1b 100644
--- a/lang/racket-minimal/Makefile
+++ b/lang/racket-minimal/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	racket
 PORTVERSION=	8.11.1
+PORTREVISION=	1
 CATEGORIES=	lang scheme
 MASTER_SITES=	http://mirror.racket-lang.org/installers/${PORTVERSION}/ \
 		http://www.cs.utah.edu/plt/installers/${PORTVERSION}/ \
@@ -30,7 +31,7 @@ CPE_VENDOR=	${PORTNAME}-lang
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-liblz4 \
 		--enable-pthread \
-		--mandir=${MANPREFIX}/man
+		--mandir=${PREFIX}/share/man
 WRKSRC=		${WRKDIR}/racket-${PORTVERSION}/src
 PATCH_WRKSRC=	${WRKDIR}/racket-${PORTVERSION}
 USE_LDCONFIG=	yes
diff --git a/lang/racket-minimal/pkg-plist b/lang/racket-minimal/pkg-plist
index b966d427ca8b..cf1836593916 100644
--- a/lang/racket-minimal/pkg-plist
+++ b/lang/racket-minimal/pkg-plist
@@ -2019,5 +2019,5 @@ lib/racket/compiled/usr/local/%%DATADIR%%/collects/xml/private/compiled/xexpr-co
 %%CS%%lib/racket/racket.boot
 %%CS%%lib/racket/scheme.boot
 %%BC%%lib/racket/mzdyn3m.o
-man/man1/racket.1.gz
-man/man1/raco.1.gz
+share/man/man1/racket.1.gz
+share/man/man1/raco.1.gz