Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2023 09:32:43 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 933d0190d989 - main - devel/ruby-install: Update to 0.9.1
Message-ID:  <202308260932.37Q9WhU0099767@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 933d0190d989210414902eb73f9e2469f73260c5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-26 09:29:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-26 09:29:31 +0000

    devel/ruby-install: Update to 0.9.1
    
    - While I'm here:
      - Use upstream release tarball
      - Use tab instead of space
      - Add NO_ARCH
      - Add NO_BUILD
      - Use INSTALL_MAN: COPYTREE_BIN brings incorrect file mode (+x) to ruby-install.1.gz
      - Use . instead of \*
      - Use DATADIR
    
    Changes:        https://github.com/postmodern/ruby-install/releases
    PR:             273273
    Reported by:    Henry Phan <henry@henryphan.com> (maintainer)
---
 devel/ruby-install/Makefile  | 28 +++++++++++++++-------------
 devel/ruby-install/distinfo  |  6 +++---
 devel/ruby-install/pkg-plist | 38 +++++++++++++++++++-------------------
 3 files changed, 37 insertions(+), 35 deletions(-)

diff --git a/devel/ruby-install/Makefile b/devel/ruby-install/Makefile
index 66323bbc23a2..dde7bbf7dca6 100644
--- a/devel/ruby-install/Makefile
+++ b/devel/ruby-install/Makefile
@@ -1,23 +1,25 @@
-PORTNAME=       ruby-install
-PORTVERSION=    0.9.0
-DISTVERSIONPREFIX=      v
-CATEGORIES=     devel ruby
+PORTNAME=	ruby-install
+PORTVERSION=	0.9.1
+CATEGORIES=	devel ruby
+MASTER_SITES=	https://github.com/postmodern/ruby-install/releases/download/v${PORTVERSION}/
 
-MAINTAINER=     henry@henryphan.com
-COMMENT=        Compile and install different versions of Ruby
+MAINTAINER=	henry@henryphan.com
+COMMENT=	Compile and install different versions of Ruby
 WWW=		https://github.com/postmodern/ruby-install
 
-LICENSE=        MIT
-LICENSE_FILE=   ${WRKSRC}/LICENSE.txt
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=    bash:shells/bash curl:ftp/curl sudo:security/sudo
+RUN_DEPENDS=	bash:shells/bash \
+		curl:ftp/curl \
+		sudo:security/sudo
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	postmodern
+NO_ARCH=	yes
+NO_BUILD=	yes
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-install ${STAGEDIR}${PREFIX}/bin
-	( cd ${WRKSRC}/share/man/man1 && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/share/man/man1 )
-	( cd ${WRKSRC}/share/ruby-install && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/share/ruby-install )
+	${INSTALL_MAN} ${WRKSRC}/share/man/man1/ruby-install.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	(cd ${WRKSRC}/share/ruby-install && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>
diff --git a/devel/ruby-install/distinfo b/devel/ruby-install/distinfo
index 948e22feb5b3..80ab73c0444e 100644
--- a/devel/ruby-install/distinfo
+++ b/devel/ruby-install/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682250007
-SHA256 (postmodern-ruby-install-v0.9.0_GH0.tar.gz) = 72cc31a47b9c5cf113aee878b4120830469160119087a18037755d195ce431af
-SIZE (postmodern-ruby-install-v0.9.0_GH0.tar.gz) = 34536
+TIMESTAMP = 1692822498
+SHA256 (ruby-install-0.9.1.tar.gz) = 9265d5d7d7ca7eb9b4130655b386d99168ef1a31f9aecd761d411e4d71caec9a
+SIZE (ruby-install-0.9.1.tar.gz) = 35636
diff --git a/devel/ruby-install/pkg-plist b/devel/ruby-install/pkg-plist
index aef80311d26d..2942f923cc8c 100644
--- a/devel/ruby-install/pkg-plist
+++ b/devel/ruby-install/pkg-plist
@@ -1,21 +1,21 @@
 bin/ruby-install
 share/man/man1/ruby-install.1.gz
-share/ruby-install/checksums.sh
-share/ruby-install/functions.sh
-share/ruby-install/jruby/dependencies.txt
-share/ruby-install/jruby/functions.sh
-share/ruby-install/logging.sh
-share/ruby-install/mruby/dependencies.txt
-share/ruby-install/mruby/functions.sh
-share/ruby-install/package_manager.sh
-share/ruby-install/ruby-install.sh
-share/ruby-install/ruby-versions.sh
-share/ruby-install/ruby/dependencies.txt
-share/ruby-install/ruby/functions.sh
-share/ruby-install/system.sh
-share/ruby-install/truffleruby-graalvm/dependencies.txt
-share/ruby-install/truffleruby-graalvm/functions.sh
-share/ruby-install/truffleruby/dependencies.txt
-share/ruby-install/truffleruby/functions.sh
-share/ruby-install/util.sh
-share/ruby-install/versions.sh
+%%DATADIR%%/checksums.sh
+%%DATADIR%%/functions.sh
+%%DATADIR%%/jruby/dependencies.txt
+%%DATADIR%%/jruby/functions.sh
+%%DATADIR%%/logging.sh
+%%DATADIR%%/mruby/dependencies.txt
+%%DATADIR%%/mruby/functions.sh
+%%DATADIR%%/package_manager.sh
+%%DATADIR%%/ruby-install.sh
+%%DATADIR%%/ruby-versions.sh
+%%DATADIR%%/ruby/dependencies.txt
+%%DATADIR%%/ruby/functions.sh
+%%DATADIR%%/system.sh
+%%DATADIR%%/truffleruby-graalvm/dependencies.txt
+%%DATADIR%%/truffleruby-graalvm/functions.sh
+%%DATADIR%%/truffleruby/dependencies.txt
+%%DATADIR%%/truffleruby/functions.sh
+%%DATADIR%%/util.sh
+%%DATADIR%%/versions.sh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308260932.37Q9WhU0099767>