source: trunk/dports/databases/mongodb/Portfile @ 58037

Last change on this file since 58037 was 58037, checked in by blb@…, 10 years ago

databases/mongodb - update to 1.1.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 58037 2009-09-21 05:33:49Z blb@macports.org $
2
3PortSystem          1.0
4name                mongodb
5version             1.1.0
6categories          databases
7maintainers         blb openmaintainer
8description         High-performance, schema-free document-oriented database
9long_description    ${description}
10
11platforms           darwin
12
13homepage            http://www.mongodb.org/
14master_sites        http://github.com/mongodb/mongo/tarball/r${version}
15
16checksums           md5     cdb0b3daa19f2c0d2a16bd6272f59930 \
17                    sha1    601b782cd017f590360582593b3000e6bf70e994 \
18                    rmd160  aee06ca96aeb212644261f3089cd83ec852bb1b4
19
20set mongodb_version_hash   8704eea17d2418a32d8c5290485d259f7c4297a7
21worksrcdir          ${name}-mongo-${mongodb_version_hash}
22
23depends_build       port:scons
24depends_lib         port:boost port:pcre port:spidermonkey port:libpcap \
25                    port:readline
26
27patchfiles          patch-SConstruct.diff
28post-patch {
29   reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/SConstruct
30}
31
32use_configure       no
33
34build.args          --usesm
35build.env           CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
36build.cmd           scons
37build.target        all mongobridge mongosniff
38
39destroot.cmd        scons
40destroot.destdir    --prefix=${destroot}${prefix}
41destroot.env        ${build.env}
42post-destroot {
43   xinstall -m 755 -W ${worksrcpath} mongobridge mongosniff \
44      ${destroot}${prefix}/bin
45}
46
47livecheck.url       ${homepage}display/DOCS/Downloads
48livecheck.regex     {mongodb/mongo/tarball/r(\d+\.\d+\.\d+)}
49
Note: See TracBrowser for help on using the repository browser.