freebsd-ports/net-im/mtxclient/Makefile
Tobias Kortkamp 20747450f4 devel/libfmt: Update to 6.0.0
While here
- Normalize CMAKE_ARGS, USES=compiler:c++11-lib
- Pet portfmt
- Bump revision of consumers due to ABI changes

Changes:	https://github.com/fmtlib/fmt/releases/tag/6.0.0
ABI:		https://abi-laboratory.pro/tracker/timeline/fmt/
PR:		240141
2019-09-01 06:12:37 +00:00

41 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= mtxclient
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.1
PORTREVISION= 4
CATEGORIES= net-im
MAINTAINER= adridg@FreeBSD.org
COMMENT= Client API library for the Matrix protocol
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nlohmann-json>=3:devel/nlohmann-json \
spdlog>=1.3:devel/spdlog \
gtest-config:devel/googletest
LIB_DEPENDS= libsodium.so:security/libsodium \
libboost_date_time.so:devel/boost-libs \
libboost_chrono.so:devel/boost-libs \
libboost_iostreams.so:devel/boost-libs \
libboost_random.so:devel/boost-libs \
libboost_regex.so:devel/boost-libs \
libboost_system.so:devel/boost-libs \
libboost_thread.so:devel/boost-libs \
libolm.so:security/olm
USES= cmake compiler:c++11-lang pkgconfig \
localbase:ldflags tar:xz
USE_GITHUB= yes
GH_ACCOUNT= Nheko-Reborn
# 71 files use #include <json.hpp>, which needs to be
# elsewhere; an alternative would be to bung in -I${LOCALBASE}/include/nlohmann
post-patch:
${FIND} ${WRKSRC} -type f -print0 | \
${XARGS} -0 ${REINPLACE_CMD} \
's+include <json.hpp>+include <nlohmann/json.hpp>+'
.include <bsd.port.mk>