blob: d681a256a126cbd862526438d1670488a9040bdb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: gahr
# $FreeBSD$
PORTNAME= catch
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.0
CATEGORIES= devel
MAINTAINER= gahr@FreeBSD.org
COMMENT= Header-only test framework for C++
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
TEST_DEPENDS= cmake:${PORTSDIR}/devel/cmake
USE_GITHUB= yes
GH_ACCOUNT= philsquared
GH_PROJECT= Catch
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= include/catch.hpp
do-install:
${INSTALL_DATA} ${WRKSRC}/single_include/catch.hpp \
${STAGEDIR}${PREFIX}/include
do-test:
cd ${WRKSRC}/projects/CMake && \
${LOCALBASE}/bin/cmake . && ${MAKE_CMD} && ./SelfTest
.include <bsd.port.mk>
|