svn commit: r463882 - head/devel/catch
Pietro Cerutti
gahr at FreeBSD.org
Thu Mar 8 09:11:55 UTC 2018
Author: gahr
Date: Thu Mar 8 09:11:54 2018
New Revision: 463882
URL: https://svnweb.freebsd.org/changeset/ports/463882
Log:
devel/catch: update to 2.2.0
Release notes:
https://github.com/catchorg/Catch2/releases/tag/v2.2.0
https://github.com/catchorg/Catch2/releases/tag/v2.1.2
Added:
head/devel/catch/pkg-plist (contents, props changed)
Modified:
head/devel/catch/Makefile
head/devel/catch/distinfo
Modified: head/devel/catch/Makefile
==============================================================================
--- head/devel/catch/Makefile Thu Mar 8 09:08:48 2018 (r463881)
+++ head/devel/catch/Makefile Thu Mar 8 09:11:54 2018 (r463882)
@@ -3,7 +3,7 @@
PORTNAME= catch
DISTVERSIONPREFIX= v
-DISTVERSION= 2.1.1
+DISTVERSION= 2.2.0
CATEGORIES= devel
MAINTAINER= gahr at FreeBSD.org
@@ -12,45 +12,15 @@ COMMENT= Header-only test framework for C++
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-TEST_DEPENDS= cmake:devel/cmake
-
-USES= compiler:c++11-lang
+USES= compiler:c++11-lang cmake pathfix
USE_GITHUB= yes
GH_ACCOUNT= catchorg
GH_PROJECT= Catch2
-NO_BUILD= yes
-NO_ARCH= yes
+CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR=${DOCSDIR}
+PORTDOCS= *
-REPORTERS= catch_reporter_automake.hpp \
- catch_reporter_bases.cpp \
- catch_reporter_bases.hpp \
- catch_reporter_compact.cpp \
- catch_reporter_compact.h \
- catch_reporter_console.cpp \
- catch_reporter_console.h \
- catch_reporter_junit.cpp \
- catch_reporter_junit.h \
- catch_reporter_multi.cpp \
- catch_reporter_multi.h \
- catch_reporter_tap.hpp \
- catch_reporter_teamcity.hpp \
- catch_reporter_xml.cpp \
- catch_reporter_xml.h
-
-PLIST_FILES= include/catch.hpp \
- ${REPORTERS:S/^/include\//g}
-
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/single_include/catch.hpp \
- ${STAGEDIR}${PREFIX}/include
-.for r in ${REPORTERS}
- ${INSTALL_DATA} ${WRKSRC}/include/reporters/${r} \
- ${STAGEDIR}${PREFIX}/include
-.endfor
-
do-test:
- cd ${WRKSRC} && \
- ${LOCALBASE}/bin/cmake . && ${MAKE_CMD} && ./SelfTest
+ ${WRKSRC}/SelfTest
.include <bsd.port.mk>
Modified: head/devel/catch/distinfo
==============================================================================
--- head/devel/catch/distinfo Thu Mar 8 09:08:48 2018 (r463881)
+++ head/devel/catch/distinfo Thu Mar 8 09:11:54 2018 (r463882)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1517227790
-SHA256 (catchorg-Catch2-v2.1.1_GH0.tar.gz) = c40d3c8133c9274946067007e911a55b0d0ad3ed7c59a1f258dfcdb6836d8eff
-SIZE (catchorg-Catch2-v2.1.1_GH0.tar.gz) = 481236
+TIMESTAMP = 1520498633
+SHA256 (catchorg-Catch2-v2.2.0_GH0.tar.gz) = dee151b8fb403b277e1c806be6c6978c3f92f12a7f457761fa08c0404c1aaedb
+SIZE (catchorg-Catch2-v2.2.0_GH0.tar.gz) = 487585
Added: head/devel/catch/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/catch/pkg-plist Thu Mar 8 09:11:54 2018 (r463882)
@@ -0,0 +1,7 @@
+include/catch/catch.hpp
+include/catch/catch_reporter_automake.hpp
+include/catch/catch_reporter_tap.hpp
+include/catch/catch_reporter_teamcity.hpp
+lib/cmake/Catch2/Catch2Config.cmake
+lib/cmake/Catch2/Catch2ConfigVersion.cmake
+libdata/pkgconfig/catch.pc
More information about the svn-ports-head
mailing list