git: 85b8338a2689 - main - lang/scm: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 21:43:09 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85b8338a26896e58c8c7ceabd8215688d457978c

commit 85b8338a26896e58c8c7ceabd8215688d457978c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 21:40:39 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 21:42:29 +0000

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

diff --git a/lang/scm/Makefile b/lang/scm/Makefile
index dde18ae9882f..97fde9e86f77 100644
--- a/lang/scm/Makefile
+++ b/lang/scm/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	scm
 PORTVERSION=	5f3
+PORTREVISION=	1
 CATEGORIES=	lang scheme
 MASTER_SITES=	GNU:scm	\
 		http://groups.csail.mit.edu/mac/ftpdir/scm/:psd1
@@ -98,7 +99,7 @@ post-patch:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/scm ${WRKSRC}/scmlit \
 		${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/scm.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/scm.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/scm
 	${INSTALL_DATA} ${WRKDIR}/require.scm ${SCM_DATA:S|^|${WRKSRC}/|} \
 		${STAGEDIR}${PREFIX}/lib/scm
diff --git a/lang/scm/pkg-plist b/lang/scm/pkg-plist
index d77587b418ae..7f681cf1d787 100644
--- a/lang/scm/pkg-plist
+++ b/lang/scm/pkg-plist
@@ -46,4 +46,4 @@ lib/scm/slib/psd/version.scm
 %%X11%%lib/scm/x11.scm
 %%X11%%lib/scm/xatoms.scm
 %%X11%%lib/scm/xevent.scm
-man/man1/scm.1.gz
+share/man/man1/scm.1.gz