freebsd-ports/devel/protobuf-c/Makefile
Po-Chuan Hsieh f4acead636
devel/protobuf: Update to 3.17.3
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
PR:		257026
Exp-run by:	antoine
2021-07-22 02:11:52 +08:00

44 lines
999 B
Makefile

# Created by: Aaron Hurt <ahurt@anbcs.com>
PORTNAME= protobuf-c
PORTVERSION= 1.4.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
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:devel/protobuf
USES= autoreconf compiler:c++11-lang gmake libtool pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOXYGEN DOCS
OPTIONS_DEFAULT= DOXYGEN
PORTDOCS= *
ALL_TARGET= all
INSTALL_TARGET= install-strip
DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_ALL_TARGET= html-local
post-install-DOXYGEN-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}/html
tests: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.mk>