aboutsummaryrefslogtreecommitdiffstats
path: root/devel/protobuf/Makefile
blob: cf99f5871791c7c83c59eb4562796b443e63fb4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: vanilla
# $FreeBSD$

PORTNAME=   protobuf
PORTVERSION=    2.6.1
DISTVERSIONPREFIX=  v
CATEGORIES= devel

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Data interchange format library

LICENSE=    BSD3CLAUSE

CFLAGS+=    -DGOOGLE_PROTOBUF_NO_RTTI
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
ONLY_FOR_ARCHS= amd64 armv6 i386
PATHFIX_MAKEFILEIN= Makefile.am
USE_CSTD=   c99 # for audio/clementine-player support
USE_LDCONFIG=   yes
USES=       autoreconf gmake libtool pathfix pkgconfig tar:bzip2

GH_ACCOUNT= google
USE_GITHUB= yes

regression-test test: build
    cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check

.include <bsd.port.mk>