Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Sep 2000 13:06:36 +0900
From:      "Akinori -Aki- MUSHA" <knu@idaemons.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: cvs commit: ports/graphics/ruby-opengl Makefile ports/graphics/ruby-opengl/patches         patch-aa ports/graphics/ruby-opengl/pkg PLIST
Message-ID:  <86lmx3eddf.wl@archon.local.idaemons.org>
In-Reply-To: In your message of "Thu, 7 Sep 2000 20:39:14 -0700 (PDT)" <200009080339.UAA71692@freefall.freebsd.org>
References:  <200009080339.UAA71692@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Thu, 7 Sep 2000 20:39:14 -0700 (PDT),
I wrote:
> knu         2000/09/07 20:39:14 PDT
> 
>   Modified files:
>     graphics/ruby-opengl Makefile 
>     graphics/ruby-opengl/patches patch-aa 
>     graphics/ruby-opengl/pkg PLIST 
>   Log:
>   Update with bsd.ruby.mk.
>   
>   Fix for Ruby 1.6. (patch-aa)

Okay, it's all done!  Converting all the Ruby ports with bsd.ruby.mk,
so many hardcoded variable definitions and common targets are shared,
standardized, and well documented in bsd.ruby.mk.

To use those Ruby ports with Ruby 1.4, you only have to define
RUBY_VER=1.4 from the command line, i.e.:

	cd /usr/ports/xxxx/ruby-yyyy; make RUBY_VER=1.4 install

And it's installed as a package "ruby14-xxxx-n.m", so you can coexist
Ruby 1.4 and modules with those of Ruby 1.6. :)

Please note that ${PREFIX}/bin/ruby and ${PREFIX}/man/man1/ruby.1.gz
are only conflicts between lang/ruby and lang/ruby14, so if you
install lang/ruby14 and then lang/ruby, ruby ${PREFIX}/bin/ruby and
${PREFIX}/man/man1/ruby.1.gz are of Ruby 1.6, and vice versa.

If you want to run a specific version of Ruby or see a specific
version of Ruby manpage, try runningruby14 or ruby16, or seeing "man
ruby14" or "man ruby16".


Incidentally, Ruby 1.6 is the new stable branch which replaces 1.4,
thus Ruby 1.4 should be removed when 1.6 gets the equal of it in
stability.  I think I'll do it by Ruby 1.6.1, and at the same time
I'll import Ruby 1.7 development branch as lang/ruby17.  Thanks to
bsd.ruby.mk it's THAT easy to do that, as no changes are needed for
each ruby port at all anymore! :)


Thanks,


P.S.

I believe this method should apply to Python ports.  Any brave Python
porters? :>

-- 
                           /
                          /__  __       
                         / )  )  ) )  /
Akinori -Aki- MUSHA aka / (_ /  ( (__(  @ idaemons.org / FreeBSD.org

"We're only at home when we're on the run, on the wing, on the fly"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lmx3eddf.wl>