diff options
| author | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-06-05 12:11:39 +0000 |
|---|---|---|
| committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-06-05 12:19:36 +0000 |
| commit | 60d9715e27d224398aaebeb6b43730f6637a5c46 (patch) | |
| tree | e6f41c00bf1dd5190f15342323be09b5a57154ad | |
| parent | 76dcbb55be7279fe58d5a1ed86edca94d2367273 (diff) | |
devel/boxed-cpp: add port: Boxing primitive types in C++
This is a small header-only library for easing primitive type boxing
in C++. Primary goal of the library is to make it easy to avoid code
with easily swappable parameters
clang-tidy:bugprone-easily-swappable-parameters.
WWW: https://github.com/contour-terminal/boxed-cpp
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/boxed-cpp/Makefile | 30 | ||||
| -rw-r--r-- | devel/boxed-cpp/distinfo | 3 | ||||
| -rw-r--r-- | devel/boxed-cpp/pkg-descr | 4 | ||||
| -rw-r--r-- | devel/boxed-cpp/pkg-plist | 4 |
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index d044beb12556..df3ad23db180 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -336,6 +336,7 @@ SUBDIR += boost-python-libs SUBDIR += boost_build SUBDIR += bossa + SUBDIR += boxed-cpp SUBDIR += boxfort SUBDIR += bpython SUBDIR += brz diff --git a/devel/boxed-cpp/Makefile b/devel/boxed-cpp/Makefile new file mode 100644 index 000000000000..23fb028a49dc --- /dev/null +++ b/devel/boxed-cpp/Makefile @@ -0,0 +1,30 @@ +PORTNAME= boxed-cpp +DISTVERSIONPREFIX= v +DISTVERSION= 1.4.3 +CATEGORIES= devel + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= Boxing primitive types in C++ +WWW= https://github.com/contour-terminal/boxed-cpp + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2 + +USES= cmake:testing + +USE_GITHUB= yes +GH_ACCOUNT= contour-terminal + +CMAKE_ON= BOXED_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/boxed-cpp/distinfo b/devel/boxed-cpp/distinfo new file mode 100644 index 000000000000..202d1d5935da --- /dev/null +++ b/devel/boxed-cpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1748787270 +SHA256 (contour-terminal-boxed-cpp-v1.4.3_GH0.tar.gz) = 75afd9c1627846ed350253b0885a71207a0c2d52f350ded86daa5d18712bad93 +SIZE (contour-terminal-boxed-cpp-v1.4.3_GH0.tar.gz) = 14342 diff --git a/devel/boxed-cpp/pkg-descr b/devel/boxed-cpp/pkg-descr new file mode 100644 index 000000000000..1e55d3c3ef91 --- /dev/null +++ b/devel/boxed-cpp/pkg-descr @@ -0,0 +1,4 @@ +This is a small header-only library for easing primitive type boxing +in C++. Primary goal of the library is to make it easy to avoid code +with easily swappable parameters +clang-tidy:bugprone-easily-swappable-parameters. diff --git a/devel/boxed-cpp/pkg-plist b/devel/boxed-cpp/pkg-plist new file mode 100644 index 000000000000..6dd31614fe34 --- /dev/null +++ b/devel/boxed-cpp/pkg-plist @@ -0,0 +1,4 @@ +include/boxed-cpp/boxed.hpp +lib/cmake/boxed-cpp/boxed-cpp-config-version.cmake +lib/cmake/boxed-cpp/boxed-cpp-config.cmake +lib/cmake/boxed-cpp/boxed-cpp-targets.cmake |
