source: trunk/dports/devel/jubatus-mpio/Portfile

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

jubatus-mpio: update to 0.4.5.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 127174 2014-10-22 10:32:21Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        jubatus jubatus-mpio 0.4.5
8
9categories          devel
10maintainers         hum openmaintainer
11
12description         modified mpio (Multipurpose concurrent I/O framework for C++) for Jubatus
13
14long_description    ${name} is ${description}.
15
16homepage            http://github.com/frsyuki/mpio
17platforms           darwin
18license             Apache-2
19
20dist_subdir         jubatus
21checksums           rmd160  061a34635e4fca4f6dec8a144ff4ea7c82fa089f \
22                    sha256  fb460b8a34654d5ed5b53b4c7e0e2f3ff349d1328ed831d1c3401d1f8c3152d3
23
24depends_build       port:autoconf port:automake port:libtool
25
26pre-configure {
27    system -W ${worksrcpath} "./bootstrap"
28}
29
30platform darwin {
31    if {${os.major} >= 13} {
32        build.args          CXXFLAGS="${configure.cxxflags} -std=c++11 -DMP_FUNCTIONAL_STANDARD -DMP_MEMORY_STANDARD -DMP_UNORDERED_MAP_STANDARD"
33    } else {
34        build.args          CXXFLAGS=${configure.cxxflags}
35    }
36}
37
38post-destroot {
39    # install an additional document.
40    set docdir ${prefix}/share/doc/${name}
41    xinstall -d ${destroot}${docdir}
42    xinstall -m 644 -W ${worksrcpath} \
43        AUTHORS COPYING ChangeLog LICENSE NOTICE README.md \
44        ${destroot}${docdir}
45}
Note: See TracBrowser for help on using the repository browser.