# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup conflicts_build 1.0 name thrift conflicts thrift-devel version 0.9.0 categories devel license Apache-2 maintainers gmail.com:naoya.n blair openmaintainer platforms darwin description framework for scalable cross-language services development long_description \ Thrift is a software framework for scalable cross-language \ services development. It combines a software stack with a code \ generation engine to build services that work efficiently and \ seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, \ Haskell, C#, Cocoa, Smalltalk, and OCaml. homepage http://thrift.apache.org/ master_sites apache:${name}/${version} checksums sha1 fefcf4d729bf80da419407dfa028740aa95fa2e3 \ rmd160 a507447718048bec2e7a4077658c43b07714ddb1 \ sha256 71d129c49a2616069d9e7a93268cdba59518f77b3c41e763e09537cb3f3f0aac use_parallel_build no depends_build port:boost \ port:pkgconfig depends_lib-append port:openssl patchfiles r1410127.diff conflicts_build ${name} configure.args --with-c_glib=no \ --with-csharp=no \ --with-d=no \ --with-erlang=no \ --with-go=no \ --with-haskell=no \ --with-java=no \ --with-perl=no \ --with-php=no \ --with-php_extension=no \ --with-python=no \ --with-ruby=no variant java description "enable the Java library" { depends_build-append bin:ant:apache-ant configure.env-append JAVA_PREFIX=${prefix}/share/java configure.args-delete --with-java=no configure.args-append --with-java=yes } variant csharp description "enable the C# library" { configure.args-delete --with-csharp=no configure.args-append --with-csharp=yes depends_lib-append port:mono } variant glib2 description "enable the C (GLib) library" { configure.args-delete --with-c_glib=no configure.args-append --with-c_glib=yes depends_lib-append path:lib/pkgconfig/glib-2.0.pc:glib2 } # doesn't install into destroot #variant ruby description "enable the Ruby library" { # configure.args-delete --with-ruby=no # configure.args-append --with-ruby=yes # depends_lib-append port:ruby #} variant haskell description "enable the Haskell library" { configure.args-delete --with-haskell=no configure.args-append --with-haskell=yes depends_lib-append port:ghc \ port:hs-http \ port:hs-binary } variant php description "enable the PHP library" { configure.env-append PHP_PREFIX=${prefix}/lib/php configure.args-delete --with-php=no configure.args-append --with-php=yes depends_lib-append path:bin/php:php5 } variant erlang description "enable the Erlang library" { configure.args-delete --with-erlang=no configure.args-append --with-erlang=yes depends_lib-append port:erlang } livecheck.type regex livecheck.url http://www.apache.org/dist/thrift/ livecheck.regex {(\d+(?:\.\d+)*)/}