git: ff994dae79e2 - main - lang/crystal: Sanitize MANPREFIX

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

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

commit ff994dae79e21a968ae8cdeb76f79fc43e2e9ff4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:02:39 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:32:09 +0000

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

diff --git a/lang/crystal/Makefile b/lang/crystal/Makefile
index 989bd3f0f998..174e4f0475b9 100644
--- a/lang/crystal/Makefile
+++ b/lang/crystal/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	crystal
 DISTVERSION=	1.10.1
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	https://github.com/dmgk/crystal-bootstrap/releases/download/${BOOTSTRAP_VERSION}/:bootstrap \
 		LOCAL/dmgk/crystal:bootstrap
@@ -107,7 +108,7 @@ post-build-DOCS-on:
 
 do-install:
 	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/.build/crystal ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_MAN} ${INSTALL_WRKSRC}/man/crystal.1 ${STAGEDIR}${MANPREFIX}/man/man1/
+	${INSTALL_MAN} ${INSTALL_WRKSRC}/man/crystal.1 ${STAGEDIR}${PREFIX}/share/man/man1/
 	(cd ${INSTALL_WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/${PORTNAME})
 	${MKDIR} ${STAGEDIR}${LOCALBASE}/etc/bash_completion.d
 	${MKDIR} ${STAGEDIR}${LOCALBASE}/share/zsh/site-functions
diff --git a/lang/crystal/pkg-plist b/lang/crystal/pkg-plist
index e57d3238ed73..e78ae074c34c 100644
--- a/lang/crystal/pkg-plist
+++ b/lang/crystal/pkg-plist
@@ -1407,5 +1407,5 @@ lib/crystal/yaml/schema/core/parser.cr
 lib/crystal/yaml/schema/fail_safe.cr
 lib/crystal/yaml/serialization.cr
 lib/crystal/yaml/to_yaml.cr
-man/man1/crystal.1.gz
+share/man/man1/crystal.1.gz
 share/zsh/site-functions/_crystal