freebsd-ports/devel/libfmt/Makefile
Yuri Victorovich 108e2e16f7 devel/libfmt: Update 3.0.1 -> 4.1.0
Port changes:
* Change to DISTVERSION
* Add USE_LDCONFIG
* Converted the TEST option to do-test target
* Add shared library version substitution variables

All tests pass.

Bump multimedia/kodi-devel.

PR:		226677
Approved by:	SlavaMikerov@gmail.com (maintainer's timeout; 15 days)
2018-04-01 20:13:38 +00:00

28 lines
748 B
Makefile

# $FreeBSD$
PORTNAME= libfmt
DISTVERSION= 4.1.0
CATEGORIES= devel
MAINTAINER= SlavaMikerov@gmail.com
COMMENT= Fmt is an open-source formatting library for C++
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
USES= cmake:outsource compiler:c++11-lib
USE_GITHUB= yes
GH_ACCOUNT= fmtlib
GH_PROJECT= fmt
USE_LDCONFIG= yes
CMAKE_ARGS= -DFMT_DOC:BOOL=OFF -DFMT_TEST:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON
PLIST_SUB= SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R}
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>