git: 78b275da90e1 - main - devel/catch: Convert PORTDOCS to PLIST entries

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 25 Jul 2024 04:20:10 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=78b275da90e120c456e59cd87c8570f66fe1ff84

commit 78b275da90e120c456e59cd87c8570f66fe1ff84
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-25 04:17:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-25 04:17:28 +0000

    devel/catch: Convert PORTDOCS to PLIST entries
---
 devel/catch/Makefile  |  3 +--
 devel/catch/pkg-plist | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/devel/catch/Makefile b/devel/catch/Makefile
index a532f4987f77..df4f7b4f3cea 100644
--- a/devel/catch/Makefile
+++ b/devel/catch/Makefile
@@ -11,13 +11,12 @@ 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=	*
-
 NO_ARCH=	yes
 
 PORTSCOUT=	limit:^2\.
diff --git a/devel/catch/pkg-plist b/devel/catch/pkg-plist
index a5d29439d3f4..0b5f0d241ef9 100644
--- a/devel/catch/pkg-plist
+++ b/devel/catch/pkg-plist
@@ -12,3 +12,31 @@ lib/cmake/Catch2/ParseAndAddCatchTests.cmake
 libdata/pkgconfig/catch2.pc
 share/Catch2/gdbinit
 share/Catch2/lldbinit
+%%PORTDOCS%%%%DOCSDIR%%/Readme.md
+%%PORTDOCS%%%%DOCSDIR%%/assertions.md
+%%PORTDOCS%%%%DOCSDIR%%/benchmarks.md
+%%PORTDOCS%%%%DOCSDIR%%/ci-and-misc.md
+%%PORTDOCS%%%%DOCSDIR%%/cmake-integration.md
+%%PORTDOCS%%%%DOCSDIR%%/command-line.md
+%%PORTDOCS%%%%DOCSDIR%%/commercial-users.md
+%%PORTDOCS%%%%DOCSDIR%%/configuration.md
+%%PORTDOCS%%%%DOCSDIR%%/contributing.md
+%%PORTDOCS%%%%DOCSDIR%%/deprecations.md
+%%PORTDOCS%%%%DOCSDIR%%/event-listeners.md
+%%PORTDOCS%%%%DOCSDIR%%/generators.md
+%%PORTDOCS%%%%DOCSDIR%%/limitations.md
+%%PORTDOCS%%%%DOCSDIR%%/list-of-examples.md
+%%PORTDOCS%%%%DOCSDIR%%/logging.md
+%%PORTDOCS%%%%DOCSDIR%%/matchers.md
+%%PORTDOCS%%%%DOCSDIR%%/opensource-users.md
+%%PORTDOCS%%%%DOCSDIR%%/other-macros.md
+%%PORTDOCS%%%%DOCSDIR%%/own-main.md
+%%PORTDOCS%%%%DOCSDIR%%/%%CMAKE_BUILD_TYPE%%-notes.md
+%%PORTDOCS%%%%DOCSDIR%%/%%CMAKE_BUILD_TYPE%%-process.md
+%%PORTDOCS%%%%DOCSDIR%%/reporters.md
+%%PORTDOCS%%%%DOCSDIR%%/slow-compiles.md
+%%PORTDOCS%%%%DOCSDIR%%/test-cases-and-sections.md
+%%PORTDOCS%%%%DOCSDIR%%/test-fixtures.md
+%%PORTDOCS%%%%DOCSDIR%%/tostring.md
+%%PORTDOCS%%%%DOCSDIR%%/tutorial.md
+%%PORTDOCS%%%%DOCSDIR%%/why-catch.md