opnsense-ports/devel/msgpack/Makefile
Franco Fichtner 9f0d4b60ad */*: sync with upstream
Taken from: FreeBSD
2016-12-12 07:56:30 +01:00

35 lines
637 B
Makefile

# $FreeBSD$
PORTNAME= msgpack
PORTVERSION= 1.4.2
DISTVERSIONPREFIX= cpp-
PORTREVISION= 1
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>