summaryrefslogtreecommitdiffstats
path: root/devel/msgpack/Makefile
blob: 71941cead20329e5bdf200b96240ebd74be7adb0 (plain)
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
30
31
32
33
34
35
# $FreeBSD$

PORTNAME=	msgpack
PORTVERSION=	1.4.2
DISTVERSIONPREFIX=	cpp-
PORTREVISION=	3
CATEGORIES=	devel

MAINTAINER=	kuriyama@FreeBSD.org
COMMENT=	MessagePack implementation for C and C++

LICENSE=	APACHE20

TEST_DEPENDS=	googletest>0:devel/googletest

USE_GITHUB=	yes
GH_PROJECT=	msgpack-c

USES=		autoreconf:build libtool:build localbase pathfix
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
TEST_TARGET=	check
USE_LDCONFIG=	yes

.include <bsd.port.options.mk>

.if ${ARCH} == "sparc64"
# required for __sync _* atomic operations on sparc
USE_GCC=	yes
.endif

pre-configure:
	cd ${WRKSRC} && ./bootstrap

.include <bsd.port.mk>
OpenPOWER on IntegriCloud