1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name thrift |
---|
6 | version 0.2.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 \ |
---|
13 | services development. It combines a software stack with a code generation \ |
---|
14 | engine to build services that work efficiently and seamlessly between C++, \ |
---|
15 | Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, \ |
---|
16 | and OCaml. |
---|
17 | homepage http://incubator.apache.org/thrift/ |
---|
18 | |
---|
19 | master_sites http://www.apache.org/dist/incubator/${name}/${version}-incubating/ |
---|
20 | distname ${name}-${version}-incubating |
---|
21 | worksrcdir ${name}-${version} |
---|
22 | use_bzip2 no |
---|
23 | checksums md5 9958c57c402c02171ba0bcc96183505c \ |
---|
24 | sha1 1f622daab73043b253e416ff8afbf5a459d3ab48 \ |
---|
25 | rmd160 235a3bbaccd6cf221a32af5905b7d102907881f8 |
---|
26 | |
---|
27 | depends_build port:zlib port:boost |
---|
28 | |
---|
29 | configure.args --enable-gen-cpp --enable-gen-java --enable-gen-csharp=no --enable-gen-py=no --enable-gen-rb=no --enable-gen-perl=no --enable-gen-php=no --enable-gen-erl=no --enable-gen-cocoa=no --enable-gen-st=no --enable-gen-ocaml=no --enable-gen-hs=no --enable-gen-xsd=no --enable-gen-html=no --with-csharp=no --with-java=no --with-erlang=no --with-py=no --with-perl=no --with-ruby=no |
---|
30 | |
---|
31 | default_variants +java +py +rb +perl |
---|
32 | |
---|
33 | variant java description "enable the Java compiler" { |
---|
34 | configure.args-append --enable-gen-java=yes --with-java=yes |
---|
35 | } |
---|
36 | |
---|
37 | variant csharp description "enable the C# compiler" { |
---|
38 | configure.args-append --enable-gen-csharp=yes --with-csharp=yes |
---|
39 | depends_lib-append port:mono |
---|
40 | } |
---|
41 | |
---|
42 | variant py description "enable the Python compiler" { |
---|
43 | configure.args-append --enable-gen-py=yes --with-python=yes |
---|
44 | depends_lib-append port:python26 |
---|
45 | } |
---|
46 | |
---|
47 | variant rb description "enable the Ruby compiler" { |
---|
48 | configure.args-append --enable-gen-rb=yes --with-ruby=yes |
---|
49 | depends_lib-append port:ruby |
---|
50 | } |
---|
51 | |
---|
52 | variant perl description "enable the Perl compiler" { |
---|
53 | configure.args-append --enable-gen-perl=yes --with-perl=yes |
---|
54 | depends_lib-append port:perl5 port:p5-class-accessor port:p5-bit-vector |
---|
55 | } |
---|
56 | |
---|
57 | variant php description "enable the PHP compiler" { |
---|
58 | configure.args-append --enable-gen-php=yes |
---|
59 | depends_lib-append port:php5 |
---|
60 | } |
---|
61 | |
---|
62 | variant erl description "enable the Erlang compiler" { |
---|
63 | configure.args-append --enable-gen-erl=yes --with-erlang=yes |
---|
64 | depends_lib-append port:erlang |
---|
65 | } |
---|
66 | |
---|
67 | variant cocoa description "enable the Cocoa compiler" { |
---|
68 | configure.args-append --enable-gen-cocoa=yes |
---|
69 | } |
---|
70 | |
---|
71 | variant st description "enable the Smalltalk compiler" { |
---|
72 | configure.args-append --enable-gen-st=yes |
---|
73 | } |
---|
74 | |
---|
75 | variant ocaml description "enable the OCaml compiler" { |
---|
76 | configure.args-append --enable-gen-ocaml=yes |
---|
77 | } |
---|
78 | |
---|
79 | variant hs description "enable the Haskell compiler" { |
---|
80 | configure.args-append --enable-gen-hs=yes |
---|
81 | } |
---|
82 | |
---|
83 | variant xsd description "enable the XSD compiler" { |
---|
84 | configure.args-append --enable-gen-xsd=yes |
---|
85 | } |
---|
86 | |
---|
87 | variant html description "enable the HTML compiler" { |
---|
88 | configure.args-append --enable-gen-html=yes |
---|
89 | } |
---|