c42bb7a008
Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. 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 Windows, Mac, etc.) Ruby 3.1 introduces a number of new features and performance improvements, here are some of them: * Performance: YJIT: New experimental in-process JIT compiler * Development supports - debug gem: A new debugger - error_highlight: Fine-grained error location in backtrace - IRB Autocomplete and Document Display This package is Ruby 3.1 release minimum base package.
16 lines
392 B
Makefile
16 lines
392 B
Makefile
# $NetBSD: options.mk,v 1.1 2022/01/16 13:57:10 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
|