# New ports collection makefile for:	msgpack
# Date created:		18 Jan 2010
# Whom:			Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD: branches/RELEASE_8_4_0/devel/msgpack/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	msgpack
PORTVERSION=	0.5.7
CATEGORIES=	devel
MASTER_SITES=	http://msgpack.org/releases/cpp/

MAINTAINER=	kuriyama@FreeBSD.org
COMMENT=	Binary-based efficient data interchange format focused on performance

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

.include <bsd.port.pre.mk>

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

.if ${ARCH} == "i386"
# Mayby not working on i386/i486/i586...
CONFIGURE_ARGS=	CFLAGS="${CFLAGS} -march=i686" CXXFLAGS="${CXXFLAGS} -march=i686"
.endif

.include <bsd.port.post.mk>
