source: trunk/dports/devel/jubatus-msgpack-rpc/Portfile

Last change on this file was 125922, checked in by hum@…, 3 years ago

jubatus-mpio, jubatus-msgpack-rpc: update to 0.4.4.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 125922 2014-09-29 15:59:01Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        jubatus jubatus-msgpack-rpc 0.4.4
8
9categories          devel
10maintainers         hum openmaintainer
11
12description         modified msgpack-rpc for Jubatus
13
14long_description    ${name} is ${description}.
15
16homepage            http://msgpack.org/
17platforms           darwin
18license             Apache-2
19
20dist_subdir         jubatus
21checksums           rmd160  fc33bf78e5320686d11c6377c18b5bb8d1cfda3c \
22                    sha256  895c4e0562be6ebf2f4c0b1aa95d538def49f266796def2c6ae14dc7cb6d6696
23
24depends_build       port:autoconf port:automake port:libtool
25
26depends_lib         port:msgpack \
27                    port:jubatus-mpio
28
29configure.dir       ${worksrcpath}/cpp
30build.dir           ${configure.dir}
31
32pre-configure {
33    system -W ${configure.dir} "./bootstrap"
34}
35
36platform darwin {
37    if {${os.major} >= 13} {
38        build.args          CXXFLAGS="${configure.cxxflags} -std=c++11 -DMP_FUNCTIONAL_STANDARD -DMP_MEMORY_STANDARD -DMP_UNORDERED_MAP_STANDARD"
39    } else {
40        build.args          CXXFLAGS=${configure.cxxflags}
41    }
42}
43
44post-destroot {
45    # install an additional document.
46    set docdir  ${prefix}/share/doc/${name}
47    xinstall -d ${destroot}${docdir}
48    xinstall -m 644 -W ${destroot.dir} \
49        AUTHORS COPYING ChangeLog NOTICE README.md \
50        ${destroot}${docdir}
51}
Note: See TracBrowser for help on using the repository browser.