git: 6cd3c3b0b113 - main - devel/ruby-build: Add man page which is added since 20231107

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Sun, 12 Nov 2023 13:58:20 UTC
The branch main has been updated by meta:

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

commit 6cd3c3b0b113e108b6330805a9df4547eef050ae
Author:     Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2023-11-12 13:56:00 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2023-11-12 13:57:30 +0000

    devel/ruby-build: Add man page which is added since 20231107
---
 devel/ruby-build/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/devel/ruby-build/Makefile b/devel/ruby-build/Makefile
index 9e143a3be553..0009a149af7d 100644
--- a/devel/ruby-build/Makefile
+++ b/devel/ruby-build/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ruby-build
 PORTVERSION=	20231107
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel ruby
 
@@ -24,7 +25,8 @@ NO_BUILD=	yes
 
 PLIST_FILES=	bin/ruby-build \
 		libexec/rbenv-install \
-		libexec/rbenv-uninstall
+		libexec/rbenv-uninstall \
+		share/man/man1/ruby-build.1.gz
 PORTDATA=	*
 
 OPTIONS_DEFINE=	RBENV
@@ -33,6 +35,7 @@ RBENV_DESC=	Install rbenv for installation support
 RBENV_RUN_DEPENDS=	rbenv:devel/rbenv
 
 do-install:
+	${INSTALL_MAN} ${WRKSRC}/share/man/man1/ruby-build.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-build ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/rbenv-install ${STAGEDIR}${PREFIX}/libexec
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/rbenv-uninstall ${STAGEDIR}${PREFIX}/libexec