Date: Mon, 21 Aug 2023 17:13:06 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: cc99dafa5d90 - main - textproc/rubygem-yarp: Add rubygem-yarp 0.6.0 Message-ID: <202308211713.37LHD6if097720@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=cc99dafa5d90e9b383840ca799d13e44845f797b commit cc99dafa5d90e9b383840ca799d13e44845f797b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-08-21 16:52:07 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-08-21 17:02:00 +0000 textproc/rubygem-yarp: Add rubygem-yarp 0.6.0 Yet Another Ruby Parser is a parser for the Ruby programming language. It is designed to be portable, error tolerant, and maintainable. It is written in C99 and has no dependencies. It is currently being integrated into CRuby, JRuby, TruffleRuby, Sorbet, and Syntax Tree. --- textproc/Makefile | 1 + textproc/rubygem-yarp/Makefile | 18 ++++++++++++++++++ textproc/rubygem-yarp/distinfo | 3 +++ textproc/rubygem-yarp/files/patch-ext-yarp-extconf.rb | 11 +++++++++++ textproc/rubygem-yarp/pkg-descr | 4 ++++ 5 files changed, 37 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index edfee41d6241..41373a453e87 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1901,6 +1901,7 @@ SUBDIR += rubygem-ya2yaml SUBDIR += rubygem-yard SUBDIR += rubygem-yard-chef + SUBDIR += rubygem-yarp SUBDIR += rubygem-zmq SUBDIR += rw-aspell SUBDIR += rxp diff --git a/textproc/rubygem-yarp/Makefile b/textproc/rubygem-yarp/Makefile new file mode 100644 index 000000000000..088b5eb9ab25 --- /dev/null +++ b/textproc/rubygem-yarp/Makefile @@ -0,0 +1,18 @@ +PORTNAME= yarp +PORTVERSION= 0.6.0 +CATEGORIES= textproc rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Yet Another Ruby Parser +WWW= https://ruby.github.io/yarp/ \ + https://github.com/ruby/yarp + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= rubygem-rake>=0:devel/rubygem-rake + +USES= gem gmake + +.include <bsd.port.mk> diff --git a/textproc/rubygem-yarp/distinfo b/textproc/rubygem-yarp/distinfo new file mode 100644 index 000000000000..064b896c25bb --- /dev/null +++ b/textproc/rubygem-yarp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1692211631 +SHA256 (rubygem/yarp-0.6.0.gem) = a073d14542a7a45504044fa719de35708cd99e451741703b0b2bd6c781f615ac +SIZE (rubygem/yarp-0.6.0.gem) = 265216 diff --git a/textproc/rubygem-yarp/files/patch-ext-yarp-extconf.rb b/textproc/rubygem-yarp/files/patch-ext-yarp-extconf.rb new file mode 100644 index 000000000000..c29e7fac3beb --- /dev/null +++ b/textproc/rubygem-yarp/files/patch-ext-yarp-extconf.rb @@ -0,0 +1,11 @@ +--- ext/yarp/extconf.rb.orig 2023-08-18 17:14:49 UTC ++++ ext/yarp/extconf.rb +@@ -70,7 +70,7 @@ module Yarp + Rake.sh("templates/template.rb") + end + Rake.sh("sh", "configure") # explicit "sh" for Windows where shebangs are not supported +- Rake.sh("make", target) ++ Rake.sh("gmake", target) + end + end + diff --git a/textproc/rubygem-yarp/pkg-descr b/textproc/rubygem-yarp/pkg-descr new file mode 100644 index 000000000000..3078f924903e --- /dev/null +++ b/textproc/rubygem-yarp/pkg-descr @@ -0,0 +1,4 @@ +Yet Another Ruby Parser is a parser for the Ruby programming language. It is +designed to be portable, error tolerant, and maintainable. It is written in C99 +and has no dependencies. It is currently being integrated into CRuby, JRuby, +TruffleRuby, Sorbet, and Syntax Tree.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308211713.37LHD6if097720>