summaryrefslogtreecommitdiff
path: root/devel/cppcodec
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devel/cppcodec/Makefile20
-rw-r--r--devel/cppcodec/distinfo3
-rw-r--r--devel/cppcodec/pkg-descr8
-rw-r--r--devel/cppcodec/pkg-plist26
4 files changed, 57 insertions, 0 deletions
diff --git a/devel/cppcodec/Makefile b/devel/cppcodec/Makefile
new file mode 100644
index 000000000000..b181a70ed406
--- /dev/null
+++ b/devel/cppcodec/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= cppcodec
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2-11
+DISTVERSIONSUFFIX= -g8019b8b
+CATEGORIES= devel
+
+MAINTAINER= jwb@FreeBSD.org
+COMMENT= Library to encode/decode base64, base64url, base32, base32hex and hex
+WWW= https://github.com/tplgy/cppcodec
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake localbase
+USE_GITHUB= yes
+GH_ACCOUNT= tplgy
+
+CMAKE_OFF+= CPPCODEC_BUILD_TESTING
+
+.include <bsd.port.mk>
diff --git a/devel/cppcodec/distinfo b/devel/cppcodec/distinfo
new file mode 100644
index 000000000000..18fb4d545ea2
--- /dev/null
+++ b/devel/cppcodec/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757162262
+SHA256 (tplgy-cppcodec-v0.2-11-g8019b8b_GH0.tar.gz) = 78475e1eb214bb97ec25c40237cd8ba129445907f4c75bc75430bd67ba1a14cd
+SIZE (tplgy-cppcodec-v0.2-11-g8019b8b_GH0.tar.gz) = 34380
diff --git a/devel/cppcodec/pkg-descr b/devel/cppcodec/pkg-descr
new file mode 100644
index 000000000000..4867ff7505b7
--- /dev/null
+++ b/devel/cppcodec/pkg-descr
@@ -0,0 +1,8 @@
+Header-only C++11 library to encode/decode base64, base64url, base32,
+base32hex and hex (a.k.a. base16) as specified in RFC 4648, plus
+Crockford's base32.
+
+MIT licensed with consistent, flexible API. Supports raw pointers,
+std::string and (templated) character vectors without unnecessary
+allocations. Cross-platform with measured decent performance and
+without compiler warnings.
diff --git a/devel/cppcodec/pkg-plist b/devel/cppcodec/pkg-plist
new file mode 100644
index 000000000000..27a8ebc96712
--- /dev/null
+++ b/devel/cppcodec/pkg-plist
@@ -0,0 +1,26 @@
+include/cppcodec/base32_crockford.hpp
+include/cppcodec/base32_default_crockford.hpp
+include/cppcodec/base32_default_hex.hpp
+include/cppcodec/base32_default_rfc4648.hpp
+include/cppcodec/base32_hex.hpp
+include/cppcodec/base32_rfc4648.hpp
+include/cppcodec/base64_default_rfc4648.hpp
+include/cppcodec/base64_default_url.hpp
+include/cppcodec/base64_default_url_unpadded.hpp
+include/cppcodec/base64_rfc4648.hpp
+include/cppcodec/base64_url.hpp
+include/cppcodec/base64_url_unpadded.hpp
+include/cppcodec/data/access.hpp
+include/cppcodec/data/raw_result_buffer.hpp
+include/cppcodec/detail/base32.hpp
+include/cppcodec/detail/base64.hpp
+include/cppcodec/detail/codec.hpp
+include/cppcodec/detail/config.hpp
+include/cppcodec/detail/hex.hpp
+include/cppcodec/detail/stream_codec.hpp
+include/cppcodec/hex_default_lower.hpp
+include/cppcodec/hex_default_upper.hpp
+include/cppcodec/hex_lower.hpp
+include/cppcodec/hex_upper.hpp
+include/cppcodec/parse_error.hpp
+share/pkgconfig/cppcodec-1.pc