# Created by: vanilla # $FreeBSD: head/devel/protobuf25/Makefile 386312 2015-05-14 10:15:04Z mat $ # devel/hadoop2 needs version 2.5.0 PORTNAME= protobuf PORTVERSION= 2.5.0 PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= GOOGLE_CODE PKGNAMESUFFIX= 25 MAINTAINER= demon@FreeBSD.org COMMENT= Data interchange format library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.txt GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${PREFIX}/protobuf25 USE_LDCONFIG= yes USES= gmake pathfix pkgconfig tar:bzip2 libtool ONLY_FOR_ARCHS= i386 amd64 INSTALL_TARGET= install-strip # clang will generate code that just doesn't work with clementine-player # if this isn't compiled as though it were C99. CFLAGS+= -std=c99 -DGOOGLE_PROTOBUF_NO_RTTI tests: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) .include