1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/devel/protozero/Makefile
Dmitry Marakasov 0ac22f8d9c - Add devel/protozero (needed for devel/osmium update)
Minimalistic protocol buffer decoder and encoder in C++.

Designed for high performance. Suitable for writing zero copy parsers
and encoders with minimal need for run-time allocation of memory.

Low-level: this is designed to be a building block for writing a
very customized decoder for a stable protobuf schema. If your
protobuf schema is changing frequently or lazy decoding is not
critical for your application then this approach offers no value:
just use the C++ API that can be generated with the Google Protobufs
protoc program.

WWW: https://github.com/mapbox/protozero
2018-04-12 12:39:41 +00:00

36 lines
801 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= protozero
PORTVERSION= 1.6.2
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Minimalist protocol buffer decoder and encoder in C++
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USE_GITHUB= yes
GH_ACCOUNT= mapbox
USES= cmake
TEST_TARGET= test
NO_ARCH= yes # header only library
PORTDOCS= CHANGELOG.md README.md UPGRADING.md
OPTIONS_DEFINE= DOCS TEST
OPTIONS_DEFAULT= TEST # no additional runtime reps
TEST_DESC= Enable additional tests, requires protobuf at build time
TEST_BUILD_DEPENDS= protoc:devel/protobuf
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>