1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name thrift |
---|
6 | version 0.4.0 |
---|
7 | |
---|
8 | categories devel |
---|
9 | maintainers gmail.com:naoya.n |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Thrift is a software framework for scalable cross-language services development |
---|
13 | |
---|
14 | long_description Thrift is a software framework for scalable cross-language \ |
---|
15 | services development. It combines a software stack with a code generation \ |
---|
16 | engine to build services that work efficiently and seamlessly between C++, \ |
---|
17 | Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, \ |
---|
18 | and OCaml. |
---|
19 | |
---|
20 | homepage http://incubator.apache.org/thrift/ |
---|
21 | |
---|
22 | master_sites http://www.apache.org/dist/incubator/${name}/${version}-incubating/ |
---|
23 | distname ${name}-${version} |
---|
24 | worksrcdir ${name}-${version} |
---|
25 | checksums md5 bb8466e5b884e9edef862a64f57abe38 \ |
---|
26 | sha1 bcd5eb1ef2b108515c8210a45ae4d51e68c81aa5 \ |
---|
27 | rmd160 6b499e8c34bc33ddd5403836a29073dd921956e5 |
---|
28 | |
---|
29 | depends_build port:zlib port:boost |
---|
30 | |
---|
31 | configure.args --with-csharp=no --with-java=no --with-erlang=no --with-py=no --with-perl=no --with-ruby=no |
---|
32 | |
---|
33 | default_variants +java +py +rb +perl |
---|
34 | |
---|
35 | variant java description "enable the Java library" { |
---|
36 | configure.args-append --with-java=yes |
---|
37 | } |
---|
38 | |
---|
39 | variant csharp description "enable the C# library" { |
---|
40 | configure.args-append --with-csharp=yes |
---|
41 | depends_lib-append port:mono |
---|
42 | } |
---|
43 | |
---|
44 | variant py description "enable the Python library" { |
---|
45 | configure.args-append --with-py=yes |
---|
46 | depends_lib-append port:python26 |
---|
47 | } |
---|
48 | |
---|
49 | variant rb description "enable the Ruby library" { |
---|
50 | configure.args-append --with-ruby=yes |
---|
51 | depends_lib-append port:ruby |
---|
52 | } |
---|
53 | |
---|
54 | variant perl description "enable the Perl library" { |
---|
55 | configure.args-append --with-perl=yes |
---|
56 | depends_lib-append path:bin/perl:perl5 port:p5-class-accessor port:p5-bit-vector |
---|
57 | } |
---|
58 | |
---|
59 | variant php description "enable the PHP library" { |
---|
60 | configure.args-append --with-php=yes |
---|
61 | depends_lib-append path:bin/php:php5 |
---|
62 | } |
---|
63 | |
---|
64 | variant erl description "enable the Erlang library" { |
---|
65 | configure.args-append --with-erlang=yes |
---|
66 | depends_lib-append port:erlang |
---|
67 | } |
---|