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, BeOS etc.)
Author: Matsumoto "matz" Yukihiro <matz@zetabits.com>
WWW: http://www.ruby-lang.org/en/
Add a patch to fix coredump that occurs when you run ruby with the
verbose flag on. (ruby -v -e 'begin;end')
PORTREVISION is not bumped since this is not a significant problem for
most people.
Update lang/ruby, lang/ruby-devel and lang/ruby16-shim-ruby18 to the
latest snapshots as of 2003-04-19.
ruby-bigdecimal (formerly known as ruby-bigfloat) and ruby-zlib are
now part of ruby 1.8.
Touch configure in the pre-configure stage lest the timestamp of
configure.in be ahead of that of configure and autoconf thus be
demanded.
Submitted: kris, bento
Update lang/ruby to the latest snapshot as of 2003-01-19, and Oni
Guruma to 2003-01-21. This update includes a bug fix that exposes
when formatting Bignums, like with ipaddr.rb.
Avoid "make: don't know how to make INSTALLS_DEPENDS. Stop" error by
disabling parallel build on sparc64. The INSTALLS_DEPENDS thing
probably comes from bsd.port.mk, but I wonder why it is regarded as a
target when it is only used as a boolean variable. I think make(1)
has some problem with parallel build (-jN) on that platform.
I could not really reproduce the error on panther, but a submitter [1]
says the build went fine if he commented the -jN option out as I
suggested.
Submitted by: Anders Andersson <anders@hack.org>,
Joao Pedras <jpedras@webvolution.net> [1],
kris
Set ONLY_FOR_ARCHS to i386, alpha and sparc64.
Ruby does not support IA64 yet. It does not even build or install
correctly. We need some clue to the IA64 stack structure and handling
of the IA64 register windows.
lang/ruby:
- Update to the 1.6.8 final release. (which fixes a couple of
coredumping bugs)
- Update Oni Guruma (alternative BSDL regexp engine) to 20021210.
- Attach a small knob for debugging.
lang/ruby-devel
- Update to 1.8.0 preview 1 + errata patch. (fixes a couple of
coredumping bugs)
- Update Oni Guruma (alternative BSDL regexp engine) to 20021210.
- Fix pkg-plist nits.
lang/ruby16-shim-ruby18
- Update to 1.8.0 preview 1. (sync with 1.6.8 & 1.8.0 preview1)
- Fix pkg-plist nits.
Approved by: lioux (and self)
A Merry Christmas to: all of you
Update lang/ruby to 1.6.8-preview3, lang/ruby16-shim-ruby18 to
1.7.3.2002.12.11, and lang/ruby-devel to 1.7.3-2002.12.12.
- Fix a few bugs that lead to core dump, one in the ruby interpreter
and another in the syslog module.
Reported by: ume (net/dtcp was a victim)
- Fix an installation problem occasionally seen on bento. (a bug in
Makefile that caused race)
Submitted by: bento
- Fix a problem that irb(1) didn't work because the symlink was wrong.
Submitted by: Jos Backus <jos@catnook.com>
- Get rid of move & symlink spaghetti completely from the installation
process.
Discussed with: portmgr (will)
Add a patch for tempfile.rb from CVS and bump PORTREVISION.
This fixes temporary file locking errors seen in portupgrade. (not a
security vulnerability, just a problem with cleanup)
Reroll a stable snapshot tarball as of 2002-09-12 for lang/ruby
containing a pregenerated configure and a parse.c generated with bison
1.35. This is to offer a smaller (.tar.bz2) distfile, remove the
autoconf dependency and benefit from a bit more efficient parse.c than
that which byacc(1) generates.
Make sure STRIP is defined before referencing the value. STRIP can be
undefined when DEBUG_FLAGS is defined.
Submitted by: Dave Cornejo <dave@dogwood.com>,
Joshua Goodall <joshua@roughtrade.net>
lang/ruby:
- Update to the latest 1.6 stable snapshot as of 2002-03-27.
- Update the Oni Guruma alternative regex engine to 20020325.
lang/ruby-devel:
- Update to the latest 1.7 development snapshot as of 2002-03-26.
- Add the WITH_ONIGURUMA knob as well as lang/ruby.
- Require devel/autoconf (2.53 or later is required).
- Add several modules to the obsoleted modules list (now included):
bigfloat
fileutils
racc-runtime
strscan
Update to the latest stable snapshot as of 2002.03.13.
Add a WITH_ONIGURUMA knob that enables the Oni Guruma regex engine
that's currently under development that will eventually replace the
stock one that's derived from LGPL'd GNU regex. [experimental]
To keep users from experiencing upgrading problems, make lang/ruby and
lang/ruby-devel deinstall obsoleted (integrated) packages in their
post-install targets (for installation from ports) and in their plists (for
installation from packages),
First round of auto* cleanups: - USE_AUTO* -> USE_AUTO*_VER=* where required
- USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK -
Other minor changes to fix things
As some people including me are seeing reproduceable coredump, temporarily
stop linking ruby with libc_r. This will break such extension modules as
ruby-qt, but we have to investigate the annoying problems we are seeing,
present in both ruby and our libc_r.
Temporarily mark as broken. The 1.6.4-preview3 tarball is missing some
library and document files. I'll unbreak when the new tarball is ready.
Sorry for inconvenience.
Do a ${MV} with -f so that the installation process won't stop and ask a
question when some version of ruby is already installed. This is useful when
you want to automatically upgrade the port using portupgrade. :)