Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by narn.NetBSD.org (Postfix) with ESMTP id 64F6F63B8E3 for ; Wed, 12 Mar 2008 04:06:17 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 2115363B1D9; Wed, 12 Mar 2008 04:06:17 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id A352063B121 for ; Wed, 12 Mar 2008 04:06:15 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 893BD175C1; Wed, 12 Mar 2008 04:06:15 +0000 (UTC) From: "Johnny C. Lam" Subject: CVS commit: pkgsrc/misc/rubygems To: pkgsrc-changes@NetBSD.org Reply-To: jlam@netbsd.org Message-Id: <20080312040615.893BD175C1@cvs.netbsd.org> Date: Wed, 12 Mar 2008 04:06:15 +0000 (UTC) Sender: pkgsrc-changes-owner@NetBSD.org Precedence: list Module Name: pkgsrc Committed By: jlam Date: Wed Mar 12 04:06:15 UTC 2008 Modified Files: pkgsrc/misc/rubygems: rubygem.mk Log Message: + 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. To generate a diff of this commit: cvs rdiff -r1.2 -r1.3 pkgsrc/misc/rubygems/rubygem.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.