From nobody Wed May 25 08:33:38 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0561C1B484A4; Wed, 25 May 2022 08:33:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L7PVB6kLKz3vy6; Wed, 25 May 2022 08:33:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653467619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V7sfQcJgIdURH6fFCQ1zyoGQ8JEQ+uV0RD5Agf1aNmA=; b=WE0iSeOBBLVckkt8vlC0P30Ngp9824g1btWcxRH+VHBoVEkJxws1/fkmqvAzDhFQrHb/l5 uJvNo4KHogFdTBklwYeSva4ZenAQ02muJGL07ncpe09ZHYxOjgofhu26/OPkV1LhTxY4r0 SW4LAzvRn7XxmVR591V0BbE8DW79G2bAf3MfFm3lg+bL2dKtSaFUMoDMx5epzSOsSEaodh DqClAfNGe/4pRlkBKUxsGkZpfY1CFxsx/Y20yxWbOiXYI2c5ZRxWOIG2YC6AYKjSYiUNR3 xflC9X6vxqifYXc0xKTIwYJl+XLEKJSCrDVVRjPT1hrSfJbML9KBbVu7ohcALg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C7E9615E30; Wed, 25 May 2022 08:33:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24P8Xcw8080226; Wed, 25 May 2022 08:33:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24P8Xc1J080225; Wed, 25 May 2022 08:33:38 GMT (envelope-from git) Date: Wed, 25 May 2022 08:33:38 GMT Message-Id: <202205250833.24P8Xc1J080225@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Koichiro Iwao Subject: git: e6d7b187ae0c - main - devel/ruby-install: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: meta X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e6d7b187ae0cdff86a062340a0ed3d95c48d542c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653467618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V7sfQcJgIdURH6fFCQ1zyoGQ8JEQ+uV0RD5Agf1aNmA=; b=Q2MRO5HekyJKrMKBIIt8I/xbH8fW5FHoB/HZiVgeQm5AdLqrg1GsCuD0BYL0YuFbWUW7OO IT33xVr02VovXeM2IPeHvwZMOkXDvdLz4PijmhR4HOpNcmaQygIGGFiCWyOLPS30PuywAQ rmLR3Lkz/WWAzzrOPoz9RnKj+jgM5D1t9SE4mp8NeghKdgiVy7NN3zrTO7/7Xv0c1mGE2Y IaPkAlj1y6R+ssICJHv3MltnGydGuBsPjJfYFcRdpG2dyW6Sd4NqSUlq6ZLJO6QDp+5Q5l zNRSv99QET67zVVNOIqBT3Qw4M2tQtp2pk6Zr+c3ybuai+pPNrnmLq6THtv2aQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653467619; a=rsa-sha256; cv=none; b=YuIlJpfCQRvlRwX/j6ZvDtA3mUyT47Th6No1MllZa7WDnO3wvMpsdK7EQvBG4IcxkILT9M ynCYpgBZcdJcKEhaLmNQmKU5fX5LBGo8VtO1h0WQeTZuiDo1V2XGnV017cg4WkCP8N9fBi Dap41m+MHLXS5rPfU89P8k7bTvNPASEKnR3pklqRkRhqY5HknLVa4VmAjOj2wgMHMZXx8T cz32XaeGSlxtXo3r1sHnSn8LVW3PdJecN8GS9oDg5Jtrhe8PpXR8W2cDeaDwdRdLnXHAdH 63XsjOTnjyFMakQdDlk6hbFXQaTLUG0C1/TBXrZLm34pQhWY6OaMSw23fIMqjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=e6d7b187ae0cdff86a062340a0ed3d95c48d542c commit e6d7b187ae0cdff86a062340a0ed3d95c48d542c Author: Henry Phan AuthorDate: 2022-05-23 05:57:35 +0000 Commit: Koichiro Iwao 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 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