Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= mongodb |
8 |
PORTNAME= mongodb |
9 |
PORTVERSION= 2.0.4 |
9 |
PORTVERSION= 2.0.6 |
10 |
CATEGORIES= databases net |
10 |
CATEGORIES= databases net |
11 |
MASTER_SITES= http://downloads.mongodb.org/src/ |
11 |
MASTER_SITES= http://downloads.mongodb.org/src/ |
12 |
DISTNAME= ${PORTNAME}-src-r${PORTVERSION} |
12 |
DISTNAME= ${PORTNAME}-src-r${PORTVERSION} |
Lines 23-30
Link Here
|
23 |
ONLY_FOR_ARCHS= i386 amd64 |
23 |
ONLY_FOR_ARCHS= i386 amd64 |
24 |
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" |
24 |
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" |
25 |
|
25 |
|
26 |
OPTIONS= DEVEL "Install development files (library and headers)" off \ |
26 |
OPTIONS_DEFINE= DEVEL V8 |
27 |
V8 "Use v8 instead of spider monkey for javascript" off |
27 |
DEVEL_DESC= Install development files (library and headers) |
|
|
28 |
V8_DESC= Use v8 instead of spider monkey for javascript |
28 |
|
29 |
|
29 |
USE_SCONS= yes |
30 |
USE_SCONS= yes |
30 |
SCONS_TARGET= all |
31 |
SCONS_TARGET= all |
Lines 35-50
Link Here
|
35 |
|
36 |
|
36 |
USE_RC_SUBR= mongod |
37 |
USE_RC_SUBR= mongod |
37 |
|
38 |
|
38 |
.include <bsd.port.pre.mk> |
39 |
.include <bsd.port.options.mk> |
39 |
|
40 |
|
40 |
.if defined(WITH_DEVEL) |
41 |
.if ${PORT_OPTIONS:MDEVEL} |
41 |
SCONS_ARGS+= --full |
42 |
SCONS_ARGS+= --full |
42 |
PLIST_SUB+= DEVEL="" |
43 |
PLIST_SUB+= DEVEL="" |
43 |
.else |
44 |
.else |
44 |
PLIST_SUB+= DEVEL="@comment " |
45 |
PLIST_SUB+= DEVEL="@comment " |
45 |
.endif |
46 |
.endif |
46 |
|
47 |
|
47 |
.if defined(WITH_V8) |
48 |
.if ${PORT_OPTIONS:MV8} |
48 |
SCONS_ARGS+= --usev8 |
49 |
SCONS_ARGS+= --usev8 |
49 |
LIB_DEPENDS+= v8:${PORTSDIR}/lang/v8 |
50 |
LIB_DEPENDS+= v8:${PORTSDIR}/lang/v8 |
50 |
.else |
51 |
.else |
Lines 57-60
Link Here
|
57 |
${TOUCH} ${PREFIX}/etc/mongodb.conf ; \ |
58 |
${TOUCH} ${PREFIX}/etc/mongodb.conf ; \ |
58 |
fi |
59 |
fi |
59 |
|
60 |
|
60 |
.include <bsd.port.post.mk> |
61 |
.include <bsd.port.mk> |