From owner-freebsd-ruby@FreeBSD.ORG Wed Apr 24 13:54:24 2013 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 92C20572 for ; Wed, 24 Apr 2013 13:54:24 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) by mx1.freebsd.org (Postfix) with ESMTP id 83197168E for ; Wed, 24 Apr 2013 13:54:24 +0000 (UTC) Received: from [10.1.3.5] (cnet520-windstream.mcclatchyinteractive.com [166.108.16.2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id C97351A1455 for ; Wed, 24 Apr 2013 13:54:17 +0000 (UTC) Message-ID: <5177E408.9040301@mail.lifanov.com> Date: Wed, 24 Apr 2013 09:54:16 -0400 From: Nikolai Lifanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130403 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-ruby@freebsd.org Subject: help with porting vagrant X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Apr 2013 13:54:24 -0000 Hello. I am trying to port Vagrant (http://vagrantup.com/) and I hit somewhat of a wall. I want to use all of the rubygem magic in bsd.ruby.mk, but I need to build the gem first ("gem build vagrant.gemfile"). It seems that I can't override the DISTNAME or EXTRACT_SFX if I want to use USE_RUBYGEMS, and it needs to be downloaded from GH as a .tar.gz. How can I fetch/extract/build a rubygem and then use the logic in bsd.ruby.mk to install it cleanly? Thank you!