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.
This commit is contained in:
Po-Chuan Hsieh 2023-08-22 00:52:07 +08:00
parent 34a7eb1c4c
commit cc99dafa5d
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
5 changed files with 37 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1692211631
SHA256 (rubygem/yarp-0.6.0.gem) = a073d14542a7a45504044fa719de35708cd99e451741703b0b2bd6c781f615ac
SIZE (rubygem/yarp-0.6.0.gem) = 265216

View file

@ -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

View file

@ -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.