ports/devel/tl-expected/Makefile

42 lines
981 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT = C++11/14/17 std::expected with functional-style extensions
GH_ACCOUNT = TartanLlama
GH_PROJECT = expected
GH_TAGNAME = v1.1.0
PKGNAME = tl-${DISTNAME}
CATEGORIES = devel
DIST_SUBDIR = tl-expected
2023-09-19 16:33:42 +00:00
SITES.pr = https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/
2023-08-16 22:26:55 +00:00
# pending "Added packaged Catch2 support and switched to v3"
2023-09-08 05:21:37 +00:00
PATCHFILES.pr = use-system-catch2-{pull/}141.patch
2023-08-16 22:26:55 +00:00
# pending "Fixed version number in exported CMake configs"
2023-09-08 05:21:37 +00:00
PATCHFILES.pr += fix-version-{pull/}142.patch
2023-08-16 22:26:55 +00:00
PATCH_DIST_STRIP = -p1
HOMEPAGE = https://tl.tartanllama.xyz
# CC0 1.0 Universal (public domain)
PERMIT_PACKAGE = Yes
MAINTAINER = Klemens Nanni <kn@openbsd.org>
# C++11 or higher
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c++
MODULES = devel/cmake
# only tests are built, defer compilation to running tests
NO_BUILD = Yes
# detect during configure
BUILD_DEPENDS = devel/catch2
TEST_DEPENDS = devel/catch2
pre-test:
@${MODCMAKE_BUILD_TARGET}
.include <bsd.port.mk>