Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2022 18:52:16 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: 3f11eca50abd - main - devel/rubygem-readline: Add rubygem-readline 0.0.3
Message-ID:  <202201111852.20BIqGFK058315@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=3f11eca50abd3b902296ed4edcf21e11dab3f47b

commit 3f11eca50abd3b902296ed4edcf21e11dab3f47b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 16:42:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:43:43 +0000

    devel/rubygem-readline: Add rubygem-readline 0.0.3
    
    This is just a loader for "readline". If Ruby has the "readline-ext" gem that is
    a native extension, this gem will load it. If Ruby does not have the
    "readline-ext" gem this gem will load "reline", a library that is compatible
    with the "readline-ext" gem and implemented in pure Ruby.
    
    WWW: https://github.com/ruby/readline
---
 devel/Makefile                   |  1 +
 devel/rubygem-readline/Makefile  | 21 +++++++++++++++++++++
 devel/rubygem-readline/distinfo  |  3 +++
 devel/rubygem-readline/pkg-descr |  6 ++++++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index b58facd53622..a01f101b531f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6693,6 +6693,7 @@
     SUBDIR += rubygem-re2
     SUBDIR += rubygem-react-rails
     SUBDIR += rubygem-react-rails-rails5
+    SUBDIR += rubygem-readline
     SUBDIR += rubygem-readline-ext
     SUBDIR += rubygem-readwritesettings
     SUBDIR += rubygem-recaptcha
diff --git a/devel/rubygem-readline/Makefile b/devel/rubygem-readline/Makefile
new file mode 100644
index 000000000000..cbc9dd813c96
--- /dev/null
+++ b/devel/rubygem-readline/Makefile
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	readline
+PORTVERSION=	0.0.3
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Loader for readline
+
+LICENSE=	RUBY
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+RUN_DEPENDS=	rubygem-reline>=0:devel/rubygem-reline
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-readline/distinfo b/devel/rubygem-readline/distinfo
new file mode 100644
index 000000000000..37f984cb5591
--- /dev/null
+++ b/devel/rubygem-readline/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641045726
+SHA256 (rubygem/readline-0.0.3.gem) = 916e480e128a16b1d9c02d69ae71b797c21a959c3a5883ffc358afa02221e5c4
+SIZE (rubygem/readline-0.0.3.gem) = 6656
diff --git a/devel/rubygem-readline/pkg-descr b/devel/rubygem-readline/pkg-descr
new file mode 100644
index 000000000000..29f0442d9cab
--- /dev/null
+++ b/devel/rubygem-readline/pkg-descr
@@ -0,0 +1,6 @@
+This is just a loader for "readline". If Ruby has the "readline-ext" gem that is
+a native extension, this gem will load it. If Ruby does not have the
+"readline-ext" gem this gem will load "reline", a library that is compatible
+with the "readline-ext" gem and implemented in pure Ruby.
+
+WWW: https://github.com/ruby/readline



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