Easily build Portfiles from ruby gems

David Glasser glasser at mit.edu
Mon Nov 6 07:51:26 PST 2006


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?

--dave

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



More information about the macports-users mailing list