pkgsrc/lang/ruby30-base/options.mk
taca 12d5d44ddc lang/ruby30-base: add version 3.0.0 package
Ruby is the interpreted scripting language for quick and easy Object
Oriented Programming.  It has many features to process text files and to do
system management tasks (as in Perl).  It is simple, straight-forward, and
extensible.

Features of Ruby are shown below.

  + Simple Syntax
  + *Normal* Object-Oriented features (ex. class, method calls)
  + *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method)
  + Operator Overloading
  + Exception Handling
  + Iterators and Closures
  + Garbage Collection
  + Dynamic Loading of Object files (on some architecture)
  + Highly Portable (works on many UNIX machines, and on DOS, Windows,
    Mac, etc.)

Ruby 3.0 introduces a number of new features and performance
improvements, most notably:

  * Performance
	- MJIT
  * Concurrency
	- Ractor
	- Fiber Scheduler
  * Typing (Static Analysis)
	- RBS
	- TypeProf

This package is Ruby 3.0 release minimum base package.
2021-02-14 14:32:41 +00:00

15 lines
392 B
Makefile

# $NetBSD: options.mk,v 1.1 2021/02/14 14:32:41 taca Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ruby
PKG_SUPPORTED_OPTIONS= ruby-build-ri-db
PKG_SUGGESTED_OPTIONS= ruby-build-ri-db
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mruby-build-ri-db)
RUBY_DYNAMIC_DIRS+= ${RUBY_SYSRIDIR}
# Use huge memory.
UNLIMIT_RESOURCES+= datasize
.else
CONFIGURE_ARGS+= --enable-install-doc=no
.endif