1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/devel/catch/Makefile
Tobias Kortkamp 8769057cae
devel/catch: Add explicit Python build dependency (D29353)
This unbreaks the build when using devel/samurai.  It previously
got it through ninja which has a run dependency on Python.

-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
CMake Error at CMakeLists.txt:50 (message):
  Python not found, but required for tests

http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-04-04_07h37m38s/logs/errors/catch-2.13.3.log

PR:		254678
2021-04-07 06:19:50 +02:00

29 lines
496 B
Makefile

# Created by: gahr
PORTNAME= catch
DISTVERSIONPREFIX= v
DISTVERSION= 2.13.3
PORTREVISION= 0
CATEGORIES= devel
MAINTAINER= gahr@FreeBSD.org
COMMENT= Header-only test framework for C++
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake compiler:c++14-lang pathfix python:build
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>