Lines 4-9
Link Here
|
4 |
PORTNAME= mongodb32 |
4 |
PORTNAME= mongodb32 |
5 |
PORTVERSION= 3.2.1 |
5 |
PORTVERSION= 3.2.1 |
6 |
DISTVERSIONPREFIX= r |
6 |
DISTVERSIONPREFIX= r |
|
|
7 |
PORTREVISION= 1 |
7 |
CATEGORIES= databases net |
8 |
CATEGORIES= databases net |
8 |
MASTER_SITES= https://fastdl.mongodb.org/src/ \ |
9 |
MASTER_SITES= https://fastdl.mongodb.org/src/ \ |
9 |
http://fastdl.mongodb.org/src/ \ |
10 |
http://fastdl.mongodb.org/src/ \ |
Lines 11-17
Link Here
|
11 |
DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${PORTVERSION} |
12 |
DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${PORTVERSION} |
12 |
|
13 |
|
13 |
MAINTAINER= brendan+freebsd@bbqsrc.net |
14 |
MAINTAINER= brendan+freebsd@bbqsrc.net |
14 |
COMMENT= NOSQL distributed document-oriented database |
15 |
COMMENT= Distributed document-oriented "NoSQL" database |
15 |
|
16 |
|
16 |
# mongodb is AGPLv3, C++ driver is APACHE20 |
17 |
# mongodb is AGPLv3, C++ driver is APACHE20 |
17 |
LICENSE= AGPLv3 APACHE20 |
18 |
LICENSE= AGPLv3 APACHE20 |
Lines 25-33
Link Here
|
25 |
ONLY_FOR_ARCHS= i386 amd64 |
26 |
ONLY_FOR_ARCHS= i386 amd64 |
26 |
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" |
27 |
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" |
27 |
|
28 |
|
28 |
OPTIONS_DEFINE= SASL SSL |
29 |
OPTIONS_DEFINE= SASL SSL WIREDTIGER |
29 |
OPTIONS_DEFAULT=SSL |
30 |
OPTIONS_DEFAULT= SSL WIREDTIGER |
30 |
|
31 |
|
|
|
32 |
# Only supported on 64-bit |
33 |
OPTIONS_EXCLUDE_i386= WIREDTIGER |
34 |
|
31 |
SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 |
35 |
SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 |
32 |
SASL_MAKE_ARGS= --use-sasl-client |
36 |
SASL_MAKE_ARGS= --use-sasl-client |
33 |
|
37 |
|
Lines 34-41
Link Here
|
34 |
SSL_USE= openssl=yes |
38 |
SSL_USE= openssl=yes |
35 |
SSL_MAKE_ARGS= --ssl |
39 |
SSL_MAKE_ARGS= --ssl |
36 |
|
40 |
|
|
|
41 |
WIREDTIGER_DESC= WiredTiger database engine support |
42 |
WIREDTIGER_VARS= wiredtiger_build=on |
43 |
WIREDTIGER_VARS_OFF= wiredtiger_build=off |
44 |
|
37 |
USES= cpe execinfo python:build scons |
45 |
USES= cpe execinfo python:build scons |
|
|
46 |
|
38 |
MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ |
47 |
MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ |
|
|
48 |
--wiredtiger=${WIREDTIGER_BUILD} \ |
39 |
--use-system-pcre --use-system-snappy \ |
49 |
--use-system-pcre --use-system-snappy \ |
40 |
--release |
50 |
--release |
41 |
|
51 |
|
Lines 47-52
Link Here
|
47 |
ALL_TARGET= core |
57 |
ALL_TARGET= core |
48 |
TEST_TARGET= unittests |
58 |
TEST_TARGET= unittests |
49 |
|
59 |
|
|
|
60 |
.include <bsd.port.pre.mk> |
61 |
|
62 |
.if ${ARCH} == "i386" |
63 |
WIREDTIGER_BUILD= off |
64 |
.endif |
65 |
|
66 |
.if ${OSVERSION} < 1000000 |
67 |
# Cannot be built |
68 |
IGNORE= unsupported on FreeBSD 9 or older |
69 |
.endif |
70 |
|
50 |
post-install: |
71 |
post-install: |
51 |
.for f in mongo mongod mongoperf mongos mongosniff |
72 |
.for f in mongo mongod mongoperf mongos mongosniff |
52 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} |
73 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} |
Lines 62-65
Link Here
|
62 |
|
83 |
|
63 |
CPE_PRODUCT= mongodb |
84 |
CPE_PRODUCT= mongodb |
64 |
|
85 |
|
65 |
.include <bsd.port.mk> |
86 |
.include <bsd.port.post.mk> |