Changeset View
Changeset View
Standalone View
Standalone View
devel/concurrencpp/Makefile
PORTNAME= concurrencpp | PORTNAME= concurrencpp | ||||
DISTVERSIONPREFIX= v. | DISTVERSIONPREFIX= v. | ||||
DISTVERSION= 0.1.3 | DISTVERSION= 0.1.3 | ||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MAINTAINER= yuri@FreeBSD.org | MAINTAINER= yuri@FreeBSD.org | ||||
COMMENT= C++ concurrency library: tasks, executors, timers, C++20 coroutines | COMMENT= C++ concurrency library: tasks, executors, timers, C++20 coroutines | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | LICENSE_FILE= ${WRKSRC}/LICENSE.txt | ||||
BROKEN_FreeBSD_11= fatal error: 'semaphore' file not found | |||||
USES= cmake compiler:c++17-lang # should be compiler:c++20-lang | USES= cmake compiler:c++17-lang # should be compiler:c++20-lang | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= David-Haim | GH_ACCOUNT= David-Haim | ||||
CMAKE_ON= BUILD_SHARED_LIBS | CMAKE_ON= BUILD_SHARED_LIBS | ||||
do-test: # same as recommended in https://github.com/David-Haim/concurrencpp#building-installing-and-testing | do-test: # same as recommended in https://github.com/David-Haim/concurrencpp#building-installing-and-testing | ||||
@cd ${WRKSRC} && \ | @cd ${WRKSRC} && \ | ||||
${CMAKE_BIN} -S test -B build/test && \ | ${CMAKE_BIN} -S test -B build/test && \ | ||||
${CMAKE_BIN} --build build/test && \ | ${CMAKE_BIN} --build build/test && \ | ||||
cd build/test && ctest . | cd build/test && ctest . | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |