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:
parent
34a7eb1c4c
commit
cc99dafa5d
5 changed files with 37 additions and 0 deletions
|
@ -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
|
||||
|
|
18
textproc/rubygem-yarp/Makefile
Normal file
18
textproc/rubygem-yarp/Makefile
Normal 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>
|
3
textproc/rubygem-yarp/distinfo
Normal file
3
textproc/rubygem-yarp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1692211631
|
||||
SHA256 (rubygem/yarp-0.6.0.gem) = a073d14542a7a45504044fa719de35708cd99e451741703b0b2bd6c781f615ac
|
||||
SIZE (rubygem/yarp-0.6.0.gem) = 265216
|
11
textproc/rubygem-yarp/files/patch-ext-yarp-extconf.rb
Normal file
11
textproc/rubygem-yarp/files/patch-ext-yarp-extconf.rb
Normal 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
|
||||
|
4
textproc/rubygem-yarp/pkg-descr
Normal file
4
textproc/rubygem-yarp/pkg-descr
Normal 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.
|
Loading…
Reference in a new issue