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

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

databases/mongodb and mongdb-devel - revert mongodb to 1.0.0 and copy 1.1.0 to mongodb-devel; ticket #21529

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