--- - branch: MAIN date: Wed Mar 12 04:06:15 UTC 2008 files: - new: '1.3' old: '1.2' path: pkgsrc/misc/rubygems/rubygem.mk pathrev: pkgsrc/misc/rubygems/rubygem.mk@1.3 type: modified id: 20080312T040615Z.55c15d64d8f1b1d48e2c223d9f8cc5ecc281271a log: | + Improve the documentation in the header of the rubygem.mk file. + Add a build dependency on rake, which is used to build a new gem file. Define RAKE to be the path to the installed rake binary. + Add "ruby" as a package category by default. + Define MASTER_SITES to a default value pointing to the main remote gem repository: http://gems.rubyforge.net/gems/. + Add a "do-gem-extract" target that extracts the files from the downloaded gem and into ${WRKSRC}. This allows us to patch or otherwise manipulate the files that are part of the gem that is to be installed. + Add a "do-gem-build" target that builds a new local gem from the contents of ${WRKSRC} using the provided Rakefile. This local gem which contains all pkgsrc modifications will be the one installed on the system. + Modify "do-gem-install" target to install from the new local gem created by the "do-gem-build" target. XXX The do-gem-install target still needs to use the new --buildroot XXX option to allow DESTDIR-style installations. module: pkgsrc subject: 'CVS commit: pkgsrc/misc/rubygems' unixtime: '1205294775' user: jlam