freebsd-ports/devel/protobuf-c/Makefile
Don Lewis 6966a3cd04 Upgrade devel/protobuf-c to 1.1.1
[ Robert Edmonds ]
  * Release 1.1.1.

  * Use protobuf 2.6.1 in the Travis-CI environment.

  [ Ilya Lipnitskiy ]
  * Munge C block comment delimiters in protobuf comments, preventing syntax
    errors in generated header files (Issue #180, #185).

  * Add static qualifier to ProtobufCEnumValue and ProtobufCEnumValueIndex
    variables in generated output.

  [ Oleg Efimov ]
  * Fix -Wpointer-sign compiler diagnostics in the test suite.

  * Check for NULL pointers in protobuf_c_message_free_unpacked()
    (Issue #177).

  * Exclude protoc-c and downloaded protobuf sources from Coveralls report.

  [ Andrey Myznikov ]
  * Fix incorrect 'short_name' field values in ProtobufCServiceDescriptor
    variables in generated output.

PR:		199950
Submitted by:	olgeni
Approved by:	mat (mentor)
Sponsored by:	Farsight Security, Inc.
Differential Revision:	https://reviews.freebsd.org/D2464
2015-05-06 21:05:06 +00:00

46 lines
1 KiB
Makefile

# Created by: Aaron Hurt <ahurt@anbcs.com>
# $FreeBSD$
PORTNAME= protobuf-c
PORTVERSION= 1.1.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= truckman@FreeBSD.org
COMMENT= Code generator and libraries to use Protocol Buffers from pure C
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf
USES= autoreconf gmake libtool pkgconfig
GNU_CONFIGURE= yes
USE_GITHUB= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFAULT= DOXYGEN
PORTDOCS= *
ALL_TARGET= all
INSTALL_TARGET= install-strip
DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
DOXYGEN_ALL_TARGET= html-local
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOXYGEN}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}/html
.endif
tests: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.mk>