4760165840
- bson_reader_reset seeks to the beginning of a BSON buffer. - bson_steal efficiently transfers contents from one bson_t to another. - Fix Windows compile error with BSON_EXTRA_ALIGN disabled. - Potential buffer overrun in bson_strndup. - bson_oid_to_string optimization for MS Visual Studio - bson_oid_is_valid accepts uppercase hex characters. - bson_json_reader_read aborted on some invalid Extended JSON documents. - All man page names now begin with "bson_" to avoid install conflicts. - Error messages sometimes truncated at 63 chars.
28 lines
655 B
Makefile
28 lines
655 B
Makefile
# $NetBSD: Makefile,v 1.19 2016/08/17 14:07:08 fhajny Exp $
|
|
|
|
DISTNAME= libbson-1.4.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mongodb/}
|
|
|
|
MAINTAINER= filip@joyent.com
|
|
HOMEPAGE= http://github.com/mongodb/libbson/
|
|
COMMENT= BSON utility library
|
|
LICENSE= apache-2.0
|
|
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
PKGCONFIG_OVERRIDE+= src/libbson-1.0.pc.in
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man3
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/bson_*.3 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|