33 lines
666 B
Makefile
33 lines
666 B
Makefile
# $OpenBSD: Makefile,v 1.12 2020/02/14 11:11:32 sthen Exp $
|
|
|
|
COMMENT = MessagePack implementation for C and C++
|
|
|
|
V = 2.1.5
|
|
GH_ACCOUNT = msgpack
|
|
GH_PROJECT = msgpack-c
|
|
GH_TAGNAME = cpp-${V}
|
|
DISTNAME = msgpack-${V}
|
|
|
|
SHARED_LIBS += msgpackc 1.0 # 2.0
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://msgpack.org/
|
|
|
|
# Boost license
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
MODULES = devel/cmake
|
|
|
|
BUILD_DEPENDS = devel/gtest
|
|
TEST_DEPENDS = devel/gtest
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && sed -i 's,-Werror -g -O3,,' CMakeLists.txt \
|
|
example/c/CMakeLists.txt \
|
|
example/cpp03/CMakeLists.txt \
|
|
test/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|