Subject: CVS commit: pkgsrc/lang
From: Takahiro Kambe
Date: 2022-01-14 16:42:09
Message id: 20220114154209.5F261FB24@cvs.NetBSD.org

Log Message:
lang/ruby: clean up some macro handling

1. Move some variables from gem-vars.mk to rubyversion.mk:

	GEM_EXTSBASE
	GEM_PATH
	GEM_PLUGINSDIR
	RUBYGEM
	RUBY_GEM_ARCH

2. Drop unused GEM_EXTSDIR_NEEDS_SUBDIR (it is always true).

3. Define bundled module's version as "MODULE_VER".

4. Generate PLIST_SUBST and PRINT_PLIST_AWK from bundled module's name
   if corresponding MODULE_VER is defined.

5. Do not run ${RUBYGEM} for RUYB_GEM_ARCH and RUBY_GEM_VER.

NFCI.

Files:
RevisionActionfile
1.13modifypkgsrc/lang/ruby/gem-vars.mk
1.9modifypkgsrc/lang/ruby/platform.mk
1.241modifypkgsrc/lang/ruby/rubyversion.mk
1.15modifypkgsrc/lang/ruby26-base/Makefile
1.6modifypkgsrc/lang/ruby26-base/PLIST
1.7modifypkgsrc/lang/ruby27-base/Makefile
1.6modifypkgsrc/lang/ruby27-base/PLIST
1.3modifypkgsrc/lang/ruby30-base/Makefile
1.5modifypkgsrc/lang/ruby30-base/PLIST