git: e6d7b187ae0c - main - devel/ruby-install: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 May 2022 08:33:38 UTC
The branch main has been updated by meta:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e6d7b187ae0cdff86a062340a0ed3d95c48d542c
commit e6d7b187ae0cdff86a062340a0ed3d95c48d542c
Author: Henry Phan <henry@henryphan.com>
AuthorDate: 2022-05-23 05:57:35 +0000
Commit: Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2022-05-25 08:33:21 +0000
devel/ruby-install: add new port
WWW: https://github.com/postmodern/ruby-install
PR: 264168
---
devel/ruby-install/Makefile | 22 ++++++++++++++++++++++
devel/ruby-install/distinfo | 3 +++
devel/ruby-install/pkg-descr | 24 ++++++++++++++++++++++++
devel/ruby-install/pkg-plist | 23 +++++++++++++++++++++++
4 files changed, 72 insertions(+)
diff --git a/devel/ruby-install/Makefile b/devel/ruby-install/Makefile
new file mode 100644
index 000000000000..e1fb294bdcaa
--- /dev/null
+++ b/devel/ruby-install/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= ruby-install
+PORTVERSION= 0.8.3
+DISTVERSIONPREFIX= v
+CATEGORIES= devel ruby
+
+MAINTAINER= henry@henryphan.com
+COMMENT= Compile and install different versions of Ruby
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= bash:shells/bash curl:ftp/curl
+
+USE_GITHUB= yes
+GH_ACCOUNT= postmodern
+
+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 )
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-install/distinfo b/devel/ruby-install/distinfo
new file mode 100644
index 000000000000..09f83e3b0c74
--- /dev/null
+++ b/devel/ruby-install/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1653467584
+SHA256 (postmodern-ruby-install-v0.8.3_GH0.tar.gz) = e2f69949757d032d48ee5c028be020bdc8863c41d5648b53328903d2e16ab3b2
+SIZE (postmodern-ruby-install-v0.8.3_GH0.tar.gz) = 32381
diff --git a/devel/ruby-install/pkg-descr b/devel/ruby-install/pkg-descr
new file mode 100644
index 000000000000..76be10fcd684
--- /dev/null
+++ b/devel/ruby-install/pkg-descr
@@ -0,0 +1,24 @@
+Installs Ruby, JRuby, Rubinius, TruffleRuby (native / GraalVM), or mruby.
+
+Features:
+
+* Supports installing arbitrary versions.
+* Supports downloading the latest versions and checksums from ruby-versions.
+* Supports installing into /opt/rubies/ and ~/.rubies/ by default.
+* Supports installing into arbitrary directories.
+* Supports downloading from arbitrary URLs.
+* Supports downloading from mirrors.
+* Supports downloading/applying patches.
+* Supports specifying arbitrary ./configure options.
+* Supports downloading archives using wget or curl.
+* Supports verifying downloaded archives via checksums.
+* Has tests.
+
+Anti-Features:
+
+* Does not require updating every time a new Ruby version comes out.
+* Does not require recipes for each individual Ruby version or configuration.
+* Does not support installing trunk/HEAD or nightly rolling releases.
+* Does not support installing unsupported/unmaintained versions of Ruby.
+
+WWW: https://github.com/postmodern/ruby-install
diff --git a/devel/ruby-install/pkg-plist b/devel/ruby-install/pkg-plist
new file mode 100644
index 000000000000..de4bc728fb71
--- /dev/null
+++ b/devel/ruby-install/pkg-plist
@@ -0,0 +1,23 @@
+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/rbx/dependencies.txt
+share/ruby-install/rbx/functions.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