1 | # $Id: Portfile 52840 2009-06-24 06:20:26Z blb@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup ruby 1.0 |
---|
5 | |
---|
6 | name rb-rubygems |
---|
7 | categories ruby devel |
---|
8 | version 1.3.5 |
---|
9 | #revision 0 |
---|
10 | |
---|
11 | homepage http://www.rubygems.org |
---|
12 | master_sites http://rubyforge.org/frs/download.php/60718/ |
---|
13 | |
---|
14 | |
---|
15 | distname rubygems-${version} |
---|
16 | dist_subdir ruby |
---|
17 | |
---|
18 | maintainers mr_bond openmaintainer |
---|
19 | description a package management framework for Ruby |
---|
20 | long_description RubyGems is the Ruby standard for publishing and \ |
---|
21 | managing third party libraries. |
---|
22 | |
---|
23 | checksums md5 6e317335898e73beab15623cdd5f8cff \ |
---|
24 | sha1 8545f25d00c757a310b879a2580e56d6012fc981 \ |
---|
25 | rmd160 2d17f0de2d387bd2a034916cb79531110f3be196 |
---|
26 | |
---|
27 | |
---|
28 | patchfiles patch-lib_rubygems_commands_setup_command.rb.diff |
---|
29 | |
---|
30 | |
---|
31 | extract.suffix .tgz |
---|
32 | platforms darwin |
---|
33 | |
---|
34 | use_configure no |
---|
35 | build { } |
---|
36 | |
---|
37 | destroot.cmd ${ruby.bin} setup.rb |
---|
38 | destroot.args --prefix=${prefix} --destdir=${destroot} |
---|
39 | destroot.env |
---|
40 | |
---|
41 | set gems_libdir ${destroot}${prefix}/lib/ruby/gems/${ruby.version} |
---|
42 | destroot.keepdirs \ |
---|
43 | ${gems_libdir}/doc \ |
---|
44 | ${gems_libdir}/gems \ |
---|
45 | ${gems_libdir}/specifications |
---|
46 | |
---|
47 | variant ruby conflicts ruby186 ruby19 description {add Ruby 1.8.7 support} { |
---|
48 | depends_lib-append port:ruby |
---|
49 | destroot.args-append --vendor |
---|
50 | } |
---|
51 | |
---|
52 | variant ruby186 conflicts ruby ruby19 description {add Ruby 1.8.6 support} { |
---|
53 | depends_lib-append port:ruby186 |
---|
54 | } |
---|
55 | |
---|
56 | variant ruby19 conflicts ruby ruby186 description {add Ruby 1.9 support} { |
---|
57 | depends_lib-append port:ruby19 |
---|
58 | destroot.args-append --vendor |
---|
59 | } |
---|
60 | |
---|
61 | default_variants +ruby |
---|
62 | |
---|