2b188a165b
change MAINTAINER back to dev@dudu.ro to match Bugzilla email address PR: 226192 Submitted by: dev@dudu.ro (maintainer)
73 lines
1.9 KiB
Makefile
73 lines
1.9 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= mongodb
|
|
DISTVERSIONPREFIX= r
|
|
DISTVERSION= 3.6.3
|
|
CATEGORIES= databases net
|
|
MASTER_SITES= https://fastdl.mongodb.org/src/ \
|
|
http://fastdl.mongodb.org/src/ \
|
|
http://download.mongodb.org/src/
|
|
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
|
|
DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION}
|
|
|
|
MAINTAINER= dev@dudu.ro
|
|
COMMENT= Distributed document-oriented "NoSQL" database
|
|
|
|
# mongodb is AGPLv3, C++ driver is APACHE20
|
|
LICENSE= AGPLv3 APACHE20
|
|
LICENSE_COMB= multi
|
|
|
|
ONLY_FOR_ARCHS= amd64
|
|
ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)"
|
|
BROKEN_FreeBSD_10= libc++ is too old
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>=2.4.4:devel/py-cheetah@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}typing>=3.6.2:devel/py-typing@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR}
|
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
|
libpcre.so:devel/pcre \
|
|
libsnappy.so:archivers/snappy
|
|
|
|
CONFLICTS_BUILD= mongo-cxx-driver
|
|
CONFLICTS_INSTALL= mongodb[32-4]*
|
|
|
|
USES= compiler:c++14-lang cpe python:2.7,build scons shebangfix
|
|
USE_RC_SUBR= mongod
|
|
|
|
SHEBANG_FILES= src/mongo/installer/compass/install_compass.in
|
|
python_OLD_CMD= @python_interpreter@
|
|
MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \
|
|
--use-system-pcre --use-system-snappy \
|
|
--use-system-boost --use-system-zlib \
|
|
--cxx-std=14 --libc++ \
|
|
--runtime-hardening=on \
|
|
--disable-warnings-as-errors \
|
|
VERBOSE=on
|
|
|
|
WITH_DEBUG= yes
|
|
|
|
USERS= mongodb
|
|
GROUPS= mongodb
|
|
|
|
OPTIONS_DEFINE= SASL SSL
|
|
OPTIONS_DEFAULT= SASL SSL
|
|
|
|
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
|
|
SASL_MAKE_ARGS= --use-sasl-client
|
|
|
|
SSL_USES= ssl
|
|
SSL_MAKE_ARGS= --ssl
|
|
|
|
ALL_TARGET= core
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
CPE_PRODUCT= mongodb
|
|
|
|
post-install:
|
|
.for f in mongo mongod mongoperf mongos
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
|
|
.endfor
|
|
${CP} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample
|
|
|
|
.include <bsd.port.mk>
|