Date: Fri, 20 Oct 2000 12:43:58 -0700 (PDT) From: Akinori MUSHA <knu@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/Mk bsd.ruby.mk Message-ID: <200010201943.MAA40383@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
knu 2000/10/20 12:43:58 PDT Modified files: Mk bsd.ruby.mk Log: Allow users to define RUBY variable to utilize ruby ports with custom-installed Ruby. :) For instance, if you have built Ruby from the latest snapshot and installed, you can install ruby modules from ports only by typing "make RUBY=/usr/local/bin/ruby install". bsd.ruby.mk will take care of everything including RUBY_VER, RUBY_LIBDIR, CONFIGURE_TARGET, etc. Introduce version requirement checking mechanism. You can set RUBY_REQUIRE to any ruby expression(s) to check Ruby's version (or other modules' versions, in future). The result will be set in RUBY_PROVIDED. Define RUBY_VERSION_CODE which holds full integer version of Ruby. Define RUBY_PORTVERSION, RUBY_DISTNAME and RUBY_WRKSRC for the standard ruby ports so as not to change PORTVERSION, DISTNAME and RUBY_WRKSRC of ruby, ruby-gdbm, ruby-tcltklib, ruby-tk, etc. everytime Ruby is updated. Rename RUBY_DEPENDS to DEPEND_RUBY, etc. for a cosmetic reason. Revision Changes Path 1.7 +79 -27 ports/Mk/bsd.ruby.mk 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?200010201943.MAA40383>