# $FreeBSD: head/devel/tl-expected/Makefile 527952 2020-03-07 14:40:37Z tcberner $ PORTNAME= tl-expected DISTVERSIONPREFIX= v DISTVERSION= 1.0.0 CATEGORIES= devel MAINTAINER= henry.hu.sh@gmail.com COMMENT= C++11/14/17 std::expected with functional-style extensions LICENSE= PD LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake USE_GITHUB= yes GH_ACCOUNT= TartanLlama GH_PROJECT= expected GH_TUPLE= TartanLlama:tl-cmake:284c6a3:tlcmake/cmake/tl-cmake NO_ARCH= yes CMAKE_ARGS= -DFETCHCONTENT_SOURCE_DIR_TL_CMAKE=${CMAKE_SOURCE_PATH}/cmake/tl-cmake OPTIONS_DEFINE= TESTS OPTIONS_DEFAULT= TESTS_DESC= Build tests TESTS_CMAKE_BOOL= EXPECTED_ENABLE_TESTS .include do-test: .if ${PORT_OPTIONS:MTESTS} @${CONFIGURE_WRKSRC}/tests .else @${ECHO} Must build with TESTS on to run tests. .endif .include