diff options
Diffstat (limited to 'devel/reflection-cpp')
-rw-r--r-- | devel/reflection-cpp/Makefile | 30 | ||||
-rw-r--r-- | devel/reflection-cpp/distinfo | 3 | ||||
-rw-r--r-- | devel/reflection-cpp/pkg-descr | 8 | ||||
-rw-r--r-- | devel/reflection-cpp/pkg-plist | 4 |
4 files changed, 45 insertions, 0 deletions
diff --git a/devel/reflection-cpp/Makefile b/devel/reflection-cpp/Makefile new file mode 100644 index 000000000000..7bb3c4e725c8 --- /dev/null +++ b/devel/reflection-cpp/Makefile @@ -0,0 +1,30 @@ +PORTNAME= reflection-cpp +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.0 +CATEGORIES= devel + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= C++ static reflection support library +WWW= https://github.com/contour-terminal/reflection-cpp + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +TEST_DEPENDS= ${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2 + +USES= cmake:testing + +USE_GITHUB= yes +GH_ACCOUNT= contour-terminal + +CMAKE_TESTING_ON= REFLECTION_TESTING + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/devel/reflection-cpp/distinfo b/devel/reflection-cpp/distinfo new file mode 100644 index 000000000000..cc4d9f549a7a --- /dev/null +++ b/devel/reflection-cpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1748843917 +SHA256 (contour-terminal-reflection-cpp-v0.4.0_GH0.tar.gz) = 898e0d653860f996b0b4881d3715a4d236a25e3e82548426c6079ed5192fea08 +SIZE (contour-terminal-reflection-cpp-v0.4.0_GH0.tar.gz) = 20562 diff --git a/devel/reflection-cpp/pkg-descr b/devel/reflection-cpp/pkg-descr new file mode 100644 index 000000000000..7d8c1036c99d --- /dev/null +++ b/devel/reflection-cpp/pkg-descr @@ -0,0 +1,8 @@ +This is a C++ static reflection library. + +Goals: +- Trivial to integrate into existing codebases (no code generation, no + macros, no build system changes) +- Minimal to zero runtime overhead +- Works with C++20 and later +- Prepared to integrate C++26 reflections when they are available diff --git a/devel/reflection-cpp/pkg-plist b/devel/reflection-cpp/pkg-plist new file mode 100644 index 000000000000..28488a1138e5 --- /dev/null +++ b/devel/reflection-cpp/pkg-plist @@ -0,0 +1,4 @@ +include/reflection-cpp/reflection.hpp +lib/cmake/reflection-cpp/reflection-cpp-config-version.cmake +lib/cmake/reflection-cpp/reflection-cpp-config.cmake +lib/cmake/reflection-cpp/reflection-cpp-targets.cmake |