freebsd-ports/devel/msgpack/Makefile
Kurt Jaeger 71372c78a7 devel/msgpack: 1.1.0 -> 1.4.2
Changes:
  https://github.com/msgpack/msgpack-c/blob/master/CHANGELOG.md
- dependent ports PORTREVISION bump because name of shared library changed

PR:		209474
Submitted by:	Yuri Victorovich <yuri@rawbw.com>
Reviewed by:	swills
2016-05-27 18:56:52 +00:00

38 lines
737 B
Makefile

# $FreeBSD$
PORTNAME= msgpack
PORTVERSION= 1.4.2
DISTVERSIONPREFIX= cpp-
CATEGORIES= devel
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= MessagePack implementation for C and C++
LICENSE= APACHE20
USE_GITHUB= yes
GH_PROJECT= msgpack-c
USES= libtool:build autoreconf:build
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
# required for __sync _* atomic operations on sparc
USE_GCC= yes
.endif
.if ${ARCH} == "i386"
# Mayby not working on i386/i486/i586...
CONFIGURE_ARGS= CFLAGS="${CFLAGS} -march=i686" CXXFLAGS="${CXXFLAGS} -march=i686"
.endif
pre-configure:
cd ${WRKSRC} && ./bootstrap
post-stage:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmsgpackc.so.2.0.0
.include <bsd.port.post.mk>