freebsd-ports/devel/tl-expected/Makefile
Henry Hu d9c1964152 devel/tl-expected: upgrade to 1.1.0
ChangeLog: https://github.com/TartanLlama/expected/releases/tag/v1.1.0

 * Modify Conanfile to package expected as a header-only library in
 * Move the error value when throwing an exception in .value rval overloads in
 * Syntax highlight in README in
 * Revamp CMake to be correct and easy to understand in
 * Fix use of std::remove_cv in static_assert in
 * Add deduction guide to tl::unexpected in
 * Use move construction in swap implementation in
 * Fix warnings in test in
 * Test on many compilers in
 * Remove undefined behaviour in
 * Fixed issue #129 in
 * remove submodule directory in

PR:		270474
Reported by:	henry.hu.sh@gmail.com (maintainer)
2023-03-29 14:48:41 +02:00

39 lines
827 B
Makefile

PORTNAME= tl-expected
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
CATEGORIES= devel
MAINTAINER= henry.hu.sh@gmail.com
COMMENT= C++11/14/17 std::expected with functional-style extensions
WWW= https://github.com/TartanLlama/expected
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= TartanLlama
GH_PROJECT= expected
NO_ARCH= yes
OPTIONS_DEFINE= TESTS
OPTIONS_DEFAULT=
TESTS_DESC= Build tests
TESTS_CMAKE_BOOL= EXPECTED_BUILD_TESTS
TESTS_CMAKE_ON= -DFETCHCONTENT_SOURCE_DIR_CATCH2=${WRKSRC}/catch2
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTESTS}
GH_TUPLE= catchorg:Catch2:v2.13.10:catch2/catch2
.endif
do-test:
.if ${PORT_OPTIONS:MTESTS}
@${CONFIGURE_WRKSRC}/tl-expected-tests
.else
@${ECHO} Must build with TESTS on to run tests.
.endif
.include <bsd.port.mk>