xref: /mports/devel/protobuf25/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# devel/hadoop2 needs version 2.5.0
2PORTNAME=	protobuf
3PORTVERSION=	2.5.0
4PORTREVISION=	1
5CATEGORIES=	devel
6MASTER_SITES=	http://pkgs.fedoraproject.org/repo/pkgs/protobuf/protobuf-2.5.0.tar.bz2/a72001a9067a4c2c4e0e836d0f92ece4/
7PKGNAMESUFFIX=	25
8
9MAINTAINER=	ports@MidnightBSD.org
10COMMENT=	Data interchange format library
11WWW=		https://github.com/google/protobuf
12
13LICENSE=	bsd3
14LICENSE_FILE=	${WRKSRC}/COPYING.txt
15
16GNU_CONFIGURE=	yes
17GNU_CONFIGURE_PREFIX=	${PREFIX}/protobuf25
18USE_LDCONFIG=	${PREFIX}/protobuf25/lib
19USES=		cpe gmake pathfix pkgconfig tar:bzip2 libtool
20ONLY_FOR_ARCHS=	i386 amd64
21INSTALL_TARGET=	install-strip
22
23CPE_VENDOR=	google
24
25# clang will generate code that just doesn't work with clementine-player
26# if this isn't compiled as though it were C99.
27CFLAGS+=	-std=c99 -DGOOGLE_PROTOBUF_NO_RTTI
28
29tests: build
30	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
31
32.include <bsd.port.mk>
33

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026