Files
2024-07-16 05:09:30 -04:00

31 lines
1.2 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup ruby 1.0
ruby.branches 3.3 3.2 3.1
ruby.setup ruby_parser 3.21.1 gem {} rubygems
description ruby_parser: a parser written in pure Ruby
long_description \
ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc, \
which does by default use a C extension). RP's output is the same as \
ParseTree's output: s-expressions using ruby's arrays and base types.
license MIT
platforms any
supported_archs noarch
maintainers nomaintainer
homepage https://github.com/seattlerb/ruby_parser
checksums rmd160 7a8dc9e5faec9015a3490fa50baca205c393403c \
sha256 9d931abe5aec287d65280f811d3cf672564956ef1bd49f528ca48479984d6fec \
size 766464
if {${name} ne ${subport}} {
depends_run-append \
port:rb${ruby.suffix}-sexp_processor
if {${ruby.branch} < 3.3} {
depends_run-append \
port:rb${ruby.suffix}-racc
}
}