2020-02-14 11:11:32 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2020/02/14 11:11:32 sthen Exp $
|
2016-12-21 19:17:14 +00:00
|
|
|
|
|
|
|
COMMENT = MessagePack implementation for C and C++
|
|
|
|
|
2018-02-16 16:16:14 +00:00
|
|
|
V = 2.1.5
|
2020-02-14 11:11:32 +00:00
|
|
|
GH_ACCOUNT = msgpack
|
|
|
|
GH_PROJECT = msgpack-c
|
|
|
|
GH_TAGNAME = cpp-${V}
|
2016-12-21 19:17:14 +00:00
|
|
|
DISTNAME = msgpack-${V}
|
2020-02-14 11:11:32 +00:00
|
|
|
|
2017-06-11 16:15:51 +00:00
|
|
|
SHARED_LIBS += msgpackc 1.0 # 2.0
|
2016-12-21 19:17:14 +00:00
|
|
|
|
|
|
|
CATEGORIES = devel
|
|
|
|
|
2018-02-16 16:16:14 +00:00
|
|
|
HOMEPAGE = https://msgpack.org/
|
2016-12-21 19:17:14 +00:00
|
|
|
|
|
|
|
# Boost license
|
2019-07-12 20:44:34 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2016-12-21 19:17:14 +00:00
|
|
|
|
2019-05-05 17:09:38 +00:00
|
|
|
COMPILER = base-clang ports-gcc
|
2018-01-20 14:03:39 +00:00
|
|
|
MODULES = devel/cmake
|
2016-12-21 19:17:14 +00:00
|
|
|
|
2017-08-10 01:46:49 +00:00
|
|
|
BUILD_DEPENDS = devel/gtest
|
|
|
|
TEST_DEPENDS = devel/gtest
|
2016-12-21 19:17:14 +00:00
|
|
|
|
2018-02-16 16:16:14 +00:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && sed -i 's,-Werror -g -O3,,' CMakeLists.txt \
|
|
|
|
example/c/CMakeLists.txt \
|
|
|
|
example/cpp03/CMakeLists.txt \
|
|
|
|
test/CMakeLists.txt
|
|
|
|
|
2016-12-21 19:17:14 +00:00
|
|
|
.include <bsd.port.mk>
|