7fa93b5a68
Catch2 is a multi-paradigm test framework for C++. It also supports Objective-C (and maybe C). It is primarily distributed as a single header file, although certain extensions may require additional headers.
26 lines
607 B
Makefile
26 lines
607 B
Makefile
# $NetBSD: Makefile,v 1.1 2020/02/03 12:35:13 bsiegert Exp $
|
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
DISTNAME= Catch2-2.11.1
|
|
PKGNAME= ${DISTNAME:tl}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=catchorg/}
|
|
|
|
MAINTAINER= bsiegert@NetBSD.org
|
|
HOMEPAGE= https://github.com/catchorg/Catch2/
|
|
COMMENT= C++ header-only test framework for unit tests
|
|
LICENSE= boost-license
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
USE_TOOLS+= pkg-config
|
|
USE_LANGUAGES= c c++14
|
|
USE_CMAKE= yes
|
|
CONFIGURE_DIRS= build
|
|
CMAKE_ARG_PATH= ..
|
|
CMAKE_ARGS+= -DBUILD_TESTING=OFF
|
|
|
|
pre-configure:
|
|
${MKDIR} ${WRKSRC}/build
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|