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

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

databases/mongodb - version update to 0.9.10; fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 56298 2009-08-26 02:28:21Z blb@macports.org $
2
3PortSystem          1.0
4name                mongodb
5version             0.9.10
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     d13f7065cd2f477b05bda7c9b8dbb794 \
17                    sha1    373f5672cc91383df4bab4ec94fe5d0c9685a4f3 \
18                    rmd160  3e9b35de2a0d29bf8c2113dd5f8b66638eaa33e2
19
20set mongodb_version_hash   b3e717fc3c2fe68da1508e45989ccd2ddbd1c822
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.