freebsd-ports/devel/tl-expected/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

35 lines
765 B
Makefile

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>