freebsd-ports/devel/libfmt/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

32 lines
735 B
Makefile

# $FreeBSD$
PORTNAME= libfmt
# Make sure to check devel/spdlog consumers too
DISTVERSION= 6.0.0
CATEGORIES= devel
MAINTAINER= tobik@FreeBSD.org
COMMENT= Formatting library for C++
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
USES= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= fmtlib
GH_PROJECT= fmt
USE_LDCONFIG= yes
CMAKE_OFF= FMT_DOC FMT_TEST
CMAKE_ON= BUILD_SHARED_LIBS
PLIST_SUB= SHL1=${PORTVERSION:R:R} \
SHL3=${PORTVERSION}
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFMT_TEST:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>