import catch 2.1.0

Catch2 stands for C++ Automated Test Cases in a Header and is a multi-paradigm
test framework for C++ which also supports Objective-C (and maybe C). It is
primarily distributed as a single header file, although certain extensions may
require additional headers.

ok jca@ Thanks!
This commit is contained in:
rsadowski 2018-01-26 20:28:08 +00:00
parent b6a081d35e
commit 01c9739f26
4 changed files with 44 additions and 0 deletions

31
devel/catch2/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2018/01/26 20:28:08 rsadowski Exp $
COMMENT = C++-native, header-only, test framework for unit-tests
GH_ACCOUNT = catchorg
GH_PROJECT = Catch2
GH_TAGNAME = v2.1.0
DISTNAME = catch2-${GH_TAGNAME:S/v//}
CATEGORIES = devel
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
# Boost
PERMIT_PACKAGE_CDROM = Yes
# C++11 / C++14
COMPILER = base-clang ports-clang ports-gcc
MODULES = devel/cmake \
lang/python
MODPY_BUILDDEP = No
MODPY_RUNDEP = No
TEST_DEPENDS = lang/python/${MODPY_DEFAULT_VERSION_2}
pre-configure:
ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
.include <bsd.port.mk>

2
devel/catch2/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (catch2-2.1.0.tar.gz) = qPmAUXSRbCO/We1F9ywhzgkuKEjBOfTG05au61zi37M=
SIZE (catch2-2.1.0.tar.gz) = 475638

4
devel/catch2/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
Catch2 stands for C++ Automated Test Cases in a Header and is a multi-paradigm
test framework for C++ which also supports Objective-C (and maybe C). It is
primarily distributed as a single header file, although certain extensions may
require additional headers.

7
devel/catch2/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/01/26 20:28:08 rsadowski Exp $
include/catch/
include/catch/catch.hpp
include/catch/catch_reporter_automake.hpp
include/catch/catch_reporter_tap.hpp
include/catch/catch_reporter_teamcity.hpp
share/pkgconfig/catch.pc