source: trunk/dports/perl/p5-thrift/Portfile

Last change on this file was 154393, checked in by mojca@…, 13 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         Thrift 0.9.3
9platforms           darwin
10maintainers         blair openmaintainer
11license             BSD
12supported_archs     noarch
13
14description         Perl implementation of Thrift serialization library
15
16long_description    Thrift is a software framework for scalable cross-language \
17                    services development. It combines a software stack with a code \
18                    generation engine to build services that work efficiently and \
19                    seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, \
20                    Haskell, C#, Cocoa, Smalltalk, and OCaml.
21
22homepage            http://thrift.apache.org/
23master_sites        apache:thrift/${version}
24dist_subdir         thrift
25distname            thrift-${version}
26
27checksums           rmd160  18c78bebca360de649db21a89afd499e32b2343a \
28                    sha256  b0740a070ac09adde04d43e852ce4c320564a292f26521c46b78e0641564969e
29
30if {${perl5.major} != ""} {
31    configure.dir   ${worksrcpath}/lib/perl
32    build.dir       ${configure.dir}
33    test.dir        ${configure.dir}
34    destroot.dir    ${configure.dir}
35
36    depends_lib-append \
37                    port:p${perl5.major}-bit-vector \
38                    port:p${perl5.major}-class-accessor
39
40    post-destroot {
41        set docdir ${prefix}/share/doc/${subport}
42        xinstall -d ${destroot}${docdir}
43        xinstall -m 644 -W ${worksrcpath} \
44            CHANGES \
45            LICENSE \
46            NOTICE \
47            README.md \
48            ${destroot}${docdir}
49    }
50}
51
52livecheck.type      regex
53livecheck.url       http://www.apache.org/dist/thrift/
54livecheck.regex     {(\d+(?:\.\d+)*)/}
Note: See TracBrowser for help on using the repository browser.