summaryrefslogtreecommitdiff
path: root/devel/boxed-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/boxed-cpp')
-rw-r--r--devel/boxed-cpp/Makefile30
-rw-r--r--devel/boxed-cpp/distinfo3
-rw-r--r--devel/boxed-cpp/pkg-descr4
-rw-r--r--devel/boxed-cpp/pkg-plist4
4 files changed, 41 insertions, 0 deletions
diff --git a/devel/boxed-cpp/Makefile b/devel/boxed-cpp/Makefile
new file mode 100644
index 000000000000..8323d649a60c
--- /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
+
+TEST_DEPENDS= ${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2
+
+USES= cmake:testing
+
+USE_GITHUB= yes
+GH_ACCOUNT= contour-terminal
+
+CMAKE_TESTING_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