aboutsummaryrefslogtreecommitdiffstats
path: root/devel/protobuf/Makefile
blob: 0da77b74a2af7729e068f5ff9c24b49880448259 (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
# Created by: vanilla
# $FreeBSD$

PORTNAME=   protobuf
PORTVERSION=    2.5.0
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= vanilla@FreeBSD.org
COMMENT=    A data interchange format library

USE_GMAKE=  yes
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USES=       pathfix pkgconfig
ONLY_FOR_ARCHS= i386 amd64

# 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

tests: build
    @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)

.include <bsd.port.mk>