From owner-cvs-all Thu Sep 7 21: 7:45 2000 Delivered-To: cvs-all@freebsd.org Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18]) by hub.freebsd.org (Postfix) with ESMTP id 5B5DB37B422; Thu, 7 Sep 2000 21:07:39 -0700 (PDT) Received: from daemon.local.idaemons.org (203-165-77-17.sugnm1.kt.home.ne.jp [203.165.77.17]) by ms.tokyo.jcom.ne.jp (8.9.3/3.7W 04/27/00) with ESMTP id NAA01612; Fri, 8 Sep 2000 13:07:37 +0900 (JST) Received: by daemon.local.idaemons.org (8.9.3/3.7W) id NAA95175; Fri, 8 Sep 2000 13:06:38 +0900 (JST) Date: Fri, 08 Sep 2000 13:06:36 +0900 Message-ID: <86lmx3eddf.wl@archon.local.idaemons.org> From: "Akinori -Aki- MUSHA" 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 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> User-Agent: Wanderlust/2.3.0 (Roam) EMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE X-PGP-Comment: I changed my key on 2000-08-10 MIME-Version: 1.0 (generated by EMIKO 1.13.12 - "Euglena sociabilis") Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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