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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name rethinkdb |
---|
7 | version 1.4.0 |
---|
8 | license AGPL-3 |
---|
9 | categories databases |
---|
10 | maintainers ?? |
---|
11 | |
---|
12 | description An open-source distributed database that has an intuitive query language, automatically parallelized queries, and simple administration. |
---|
13 | long_description ${description} |
---|
14 | |
---|
15 | platforms darwin |
---|
16 | |
---|
17 | homepage http://www.rethinkdb.com/ |
---|
18 | master_sites http://download.rethinkdb.com/dist/ |
---|
19 | extract.suffix .tgz |
---|
20 | distname rethinkdb-${version} |
---|
21 | |
---|
22 | checksums rmd160 4b6a7ca9ac167848ba3b0877b9a94a8a92535440 \ |
---|
23 | sha256 da40ac64a0eac9d6b76452bed4ab9189eaa960c143479d862170d564253fdc5a |
---|
24 | |
---|
25 | use_configure yes |
---|
26 | worksrcdir rethinkdb-${version} |
---|
27 | build.args DEBUG=0 ALLOW_WARNINGS=1 BUILD_DIR=build WEBRESDIR=${prefix}/share/rethinkdb/web |
---|
28 | build.target build/rethinkdb web-assets |
---|
29 | |
---|
30 | depends_lib port:boost \ |
---|
31 | port:v8 \ |
---|
32 | port:nodejs \ |
---|
33 | port:protobuf-cpp \ |
---|
34 | port:coffee-script |
---|
35 | |
---|
36 | destroot { |
---|
37 | # correct permissions for files? |
---|
38 | xinstall ${worksrcpath}/build/rethinkdb ${destroot}${prefix}/bin/ |
---|
39 | xinstall ${worksrcpath}/packaging/assets/man/rethinkdb.1 ${destroot}${prefix}/share/man/man1/ |
---|
40 | xinstall -d ${destroot}${prefix}/etc/rethinkdb/instances.d/ |
---|
41 | xinstall ${worksrcpath}/packaging/assets/config/default.conf.sample ${destroot}${prefix}/etc/rethinkdb/ |
---|
42 | xinstall -d ${destroot}${prefix}/etc/bash_completion.d/ |
---|
43 | xinstall ${worksrcpath}/packaging/assets/scripts/rethinkdb.bash ${destroot}${prefix}/etc/bash_completion.d/ |
---|
44 | xinstall -d ${destroot}${prefix}/share/rethinkdb/ |
---|
45 | move ${worksrcpath}/build/rethinkdb_web_assets/ ${destroot}${prefix}/share/rethinkdb/web/ |
---|
46 | |
---|
47 | xinstall -d ${destroot}${prefix}/var/lib/rethinkdb/ |
---|
48 | |
---|
49 | # startup script ? |
---|
50 | } |
---|
51 | |
---|
52 | livecheck.type regex |
---|
53 | livecheck.url ${master_sites} |
---|
54 | livecheck.regex {rethinkdb-(\d+\.\d+\.\d+)\.tgz} |
---|