aboutsummaryrefslogtreecommitdiff
path: root/databases/mongodb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mongodb/Makefile')
-rw-r--r--databases/mongodb/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/databases/mongodb/Makefile b/databases/mongodb/Makefile
index 324c97f7319a..de8e178124db 100644
--- a/databases/mongodb/Makefile
+++ b/databases/mongodb/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mongodb
-PORTVERSION= 2.0.4
+PORTVERSION= 2.0.6
CATEGORIES= databases net
MASTER_SITES= http://downloads.mongodb.org/src/
DISTNAME= ${PORTNAME}-src-r${PORTVERSION}
@@ -23,8 +23,9 @@ LIB_DEPENDS= boost_system:${PORTSDIR}/devel/boost-libs \
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64"
-OPTIONS= DEVEL "Install development files (library and headers)" off \
- V8 "Use v8 instead of spider monkey for javascript" off
+OPTIONS_DEFINE= DEVEL V8
+DEVEL_DESC= Install development files (library and headers)
+V8_DESC= Use v8 instead of spider monkey for javascript
USE_SCONS= yes
SCONS_TARGET= all
@@ -35,16 +36,16 @@ GROUPS= mongodb
USE_RC_SUBR= mongod
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_DEVEL)
+.if ${PORT_OPTIONS:MDEVEL}
SCONS_ARGS+= --full
PLIST_SUB+= DEVEL=""
.else
PLIST_SUB+= DEVEL="@comment "
.endif
-.if defined(WITH_V8)
+.if ${PORT_OPTIONS:MV8}
SCONS_ARGS+= --usev8
LIB_DEPENDS+= v8:${PORTSDIR}/lang/v8
.else
@@ -57,4 +58,4 @@ post-install:
${TOUCH} ${PREFIX}/etc/mongodb.conf ; \
fi
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>