blob: 1a588c640147982615e3fcdb758e59a93f417b3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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 <bsd.port.options.mk>
do-test:
.if ${PORT_OPTIONS:MTESTS}
@${CONFIGURE_WRKSRC}/tests
.else
@${ECHO} Must build with TESTS on to run tests.
.endif
.include <bsd.port.mk>
|