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

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

databases/mongodb - version update to 1.0.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 56440 2009-08-27 19:57:01Z blb@macports.org $
2
3PortSystem          1.0
4name                mongodb
5version             1.0.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     afc131a92c52ee70a90c7929354c6019 \
17                    sha1    73f89fd4f6468b34c0eeed2e66a8a164eb00b1f0 \
18                    rmd160  6a5b826eb76ea7552474b26241ec5da2e7494fd2
19
20set mongodb_version_hash   eefb81258e5e37f9cd9c43edef16c774830983ac
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.