mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
36 lines
635 B
Makefile
36 lines
635 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= catch
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.5.4
|
|
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:devel/cmake
|
|
TEST_TARGET= do-test
|
|
|
|
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>
|