mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 09:33:11 -04:00
26 lines
653 B
Makefile
26 lines
653 B
Makefile
PORTNAME= concurrencpp
|
|
DISTVERSIONPREFIX= v.
|
|
DISTVERSION= 0.1.7
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= C++ concurrency library: tasks, executors, timers, C++20 coroutines
|
|
WWW= https://github.com/David-Haim/concurrencpp
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= cmake compiler:c++20-lang
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= David-Haim
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
|
|
do-test: # same as recommended in https://github.com/David-Haim/concurrencpp#building-installing-and-testing
|
|
@cd ${WRKSRC} && \
|
|
${CMAKE_BIN} -S test -B build/test && \
|
|
${CMAKE_BIN} --build build/test && \
|
|
cd build/test && ctest .
|
|
|
|
.include <bsd.port.mk>
|