aboutsummaryrefslogtreecommitdiffstats
path: root/devel/catch/Makefile
blob: b9289e3a8952ff178226b32a5fbc59aff9ff79bc (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
# Created by: gahr
# $FreeBSD$

PORTNAME=   catch
DISTVERSIONPREFIX=  v
DISTVERSION=    2.5.0
PORTREVISION=   1
CATEGORIES= devel

MAINTAINER= gahr@FreeBSD.org
COMMENT=    Header-only test framework for C++

LICENSE=    BSL
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

USES=       compiler:c++14-lang cmake:outsource pathfix
USE_GITHUB= yes
GH_ACCOUNT= catchorg
GH_PROJECT= Catch2

CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR=${DOCSDIR}
PORTDOCS=   *

OPTIONS_DEFINE= DOCS

do-test:
    ${BUILD_WRKSRC}/projects/SelfTest

.include <bsd.port.mk>