Easily build Portfiles from ruby gems

David Glasser glasser at mit.edu
Mon Nov 6 08:30:17 PST 2006


On 11/6/06, David Glasser <glasser at mit.edu> wrote:
> On 11/6/06, Paul Guyot <pguyot at kallisys.net> wrote:
> > Hi all,
> >
> > I wrote a script that generates a ready to use Portfile for any gem.
> > You can find it here:
> > http://www.opendarwin.org/~pguyot/gems_to_portfile.rb
>
> This looks excellent!  I've been wanting a way to integrate gems (and
> CPAN, etc) with macports for a while... the fact that "gem" will by
> default install non-macports-managed files into my /opt/local was
> troubling.
>
> How do you recommend using this?  Should I create a "gem-portfiles"
> directory somewhere in my system that I put these in?  Should I make a
> new directory in /opt/local/var/db/dports/sources?

Also, perhaps I'm using an old version of MacPorts or something, but
the rubyforge_gem source specification doesn't seem to work for me.

--dave

-- 
David Glasser | glasser at mit.edu | http://www.davidglasser.net/



More information about the macports-users mailing list