1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Re-introduce port: devel/mongo-cxx-driver

Official Mongo C++ Driver

Mongo (from "humongous") is a high-performance, open source,
schema-free, document-oriented database. A common name in the
"NOSQL" community.

WWW: https://github.com/mongodb/mongo-cxx-driver

There was an old port, which was not staged.

PR:		195332
Submitted by:	numisemis@yahoo.com
This commit is contained in:
Kurt Jaeger 2015-10-14 11:11:41 +00:00
parent 1d0b9d3e31
commit cb8d8f127a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399250
7 changed files with 185 additions and 1 deletions

1
MOVED
View File

@ -6561,7 +6561,6 @@ devel/libparserutils||2014-09-01|Not staged
devel/libslave||2014-09-01|Not staged
devel/linux-kmod-compat||2014-09-01|Not staged
devel/ml-doc||2014-09-01|Not staged
devel/mongo-cxx-driver||2014-09-01|Not staged
devel/nemiver||2014-09-01|Not staged
devel/ocaml-event||2014-09-01|Not staged
devel/ocamlweb||2014-09-01|Not staged

View File

@ -1463,6 +1463,7 @@
SUBDIR += mm
SUBDIR += mm-common
SUBDIR += mongo-c-driver
SUBDIR += mongo-cxx-driver
SUBDIR += mono-addins
SUBDIR += monodevelop
SUBDIR += monodevelop-database

View File

@ -0,0 +1,30 @@
# Created by: Simun Mikecin <numisemis@yahoo.com>
# $FreeBSD$
PORTNAME= mongo-cxx-driver
PORTVERSION= 1.0.5
DISTVERSIONPREFIX=v
CATEGORIES= devel
MAINTAINER= numisemis@yahoo.com
COMMENT= C++ Driver for MongoDB
LICENSE= APACHE20
LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs
MAKE_JOBS_UNSAFE= yes
USE_GITHUB= yes
GH_ACCOUNT= mongodb
GH_PROJECT= mongo-cxx-driver
GH_TAGNAME= e849f94
WRKSRC= ${WRKDIR}/mongo-cxx-driver-e849f94
USES= execinfo scons
MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \
--cc=${CC} \
--cxx=${CXX}
USE_LDCONFIG= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (mongodb-mongo-cxx-driver-v1.0.5-e849f94_GH0.tar.gz) = f3db90b238e89f3327efe675405b6446037ebf6a055094f71d190c582b19fdd1
SIZE (mongodb-mongo-cxx-driver-v1.0.5-e849f94_GH0.tar.gz) = 1573851

View File

@ -0,0 +1,33 @@
--- SConstruct.orig 2015-08-18 15:46:59 UTC
+++ SConstruct
@@ -354,6 +354,30 @@ env_vars.Add('SHLINKFLAGS',
help='Sets flags for the linker when building shared libraries',
converter=variable_shlex_converter)
+env_vars.Add('CXX',
+ help='Sets path to the C++ compiler',
+ converter=variable_shlex_converter)
+
+env_vars.Add('CC',
+ help='Sets path to the C compiler',
+ converter=variable_shlex_converter)
+
+env_vars.Add('PREFIX',
+ help='Sets PREFIX path',
+ converter=variable_shlex_converter)
+
+env_vars.Add('PKGCONFIGDIR',
+ help='Sets PKGCONFIGDIR path',
+ converter=variable_shlex_converter)
+
+env_vars.Add('destdir',
+ help='Sets destdir path',
+ converter=variable_shlex_converter)
+
+env_vars.Add('DESTDIR',
+ help='Sets DESTDIR path',
+ converter=variable_shlex_converter)
+
# don't run configure if user calls --help
if GetOption('help'):
Return()

View File

@ -0,0 +1,7 @@
Official Mongo C++ Driver
Mongo (from "humongous") is a high-performance, open source,
schema-free, document-oriented database. A common name in the
"NOSQL" community.
WWW: https://github.com/mongodb/mongo-cxx-driver

View File

@ -0,0 +1,112 @@
include/mongo/base/data_cursor.h
include/mongo/base/data_view.h
include/mongo/base/disallow_copying.h
include/mongo/base/encoded_value_storage.h
include/mongo/base/error_codes.h
include/mongo/base/parse_number.h
include/mongo/base/status-inl.h
include/mongo/base/status.h
include/mongo/base/status_with.h
include/mongo/base/string_data-inl.h
include/mongo/base/string_data.h
include/mongo/bson/bson-inl.h
include/mongo/bson/bson.h
include/mongo/bson/bson_db.h
include/mongo/bson/bson_field.h
include/mongo/bson/bson_validate.h
include/mongo/bson/bsonelement.h
include/mongo/bson/bsonmisc.h
include/mongo/bson/bsonobj.h
include/mongo/bson/bsonobjbuilder.h
include/mongo/bson/bsonobjiterator.h
include/mongo/bson/bsontypes.h
include/mongo/bson/inline_decls.h
include/mongo/bson/oid.h
include/mongo/bson/ordering.h
include/mongo/bson/timestamp.h
include/mongo/bson/util/builder.h
include/mongo/client/autolib.h
include/mongo/client/bulk_operation_builder.h
include/mongo/client/bulk_update_builder.h
include/mongo/client/bulk_upsert_builder.h
include/mongo/client/dbclient.h
include/mongo/client/dbclient_rs.h
include/mongo/client/dbclientcursor.h
include/mongo/client/dbclientinterface.h
include/mongo/client/exceptions.h
include/mongo/client/export_macros.h
include/mongo/client/gridfs.h
include/mongo/client/index_spec.h
include/mongo/client/init.h
include/mongo/client/options.h
include/mongo/client/redef_macros.h
include/mongo/client/sasl_client_authenticate.h
include/mongo/client/undef_macros.h
include/mongo/client/write_concern.h
include/mongo/client/write_options.h
include/mongo/client/write_result.h
include/mongo/config.h
include/mongo/db/jsobj.h
include/mongo/db/json.h
include/mongo/geo/boundingbox.h
include/mongo/geo/constants.h
include/mongo/geo/coordinates.h
include/mongo/geo/coordinates2d.h
include/mongo/geo/coordinates2dgeographic.h
include/mongo/geo/geometry.h
include/mongo/geo/geometrycollection.h
include/mongo/geo/geoobj.h
include/mongo/geo/interface.h
include/mongo/geo/linestring.h
include/mongo/geo/multilinestring.h
include/mongo/geo/multipoint.h
include/mongo/geo/multipolygon.h
include/mongo/geo/namespaces.h
include/mongo/geo/parser-impl.h
include/mongo/geo/parser.h
include/mongo/geo/point.h
include/mongo/geo/polygon.h
include/mongo/geo/queryutils.h
include/mongo/logger/appender.h
include/mongo/logger/component_message_log_domain.h
include/mongo/logger/labeled_level.h
include/mongo/logger/log_component.h
include/mongo/logger/log_component_settings.h
include/mongo/logger/log_domain.h
include/mongo/logger/log_manager.h
include/mongo/logger/log_severity-inl.h
include/mongo/logger/log_severity.h
include/mongo/logger/logger.h
include/mongo/logger/logstream_builder.h
include/mongo/logger/message_event.h
include/mongo/logger/message_log_domain.h
include/mongo/platform/atomic_intrinsics.h
include/mongo/platform/atomic_intrinsics_gcc_atomic.h
include/mongo/platform/atomic_intrinsics_gcc_intel.h
include/mongo/platform/atomic_intrinsics_gcc_sync.h
include/mongo/platform/atomic_intrinsics_win32.h
include/mongo/platform/atomic_word.h
include/mongo/platform/atomic_word_cxx11.h
include/mongo/platform/atomic_word_intrinsics.h
include/mongo/platform/compiler.h
include/mongo/platform/compiler_gcc.h
include/mongo/platform/compiler_msvc.h
include/mongo/platform/cstdint.h
include/mongo/platform/endian.h
include/mongo/platform/float_utils.h
include/mongo/platform/hash_namespace.h
include/mongo/platform/strnlen.h
include/mongo/platform/unordered_map.h
include/mongo/platform/windows_basic.h
include/mongo/stdx/functional.h
include/mongo/util/assert_util.h
include/mongo/util/mongoutils/str.h
include/mongo/util/net/hostandport.h
include/mongo/util/net/message.h
include/mongo/util/net/message_port.h
include/mongo/util/net/operation.h
include/mongo/util/net/sock.h
include/mongo/util/shared_buffer.h
include/mongo/util/time_support.h
include/mongo/version.h
lib/libmongoclient.a