diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/cppcodec/Makefile | 19 | ||||
-rw-r--r-- | devel/cppcodec/distinfo | 3 | ||||
-rw-r--r-- | devel/cppcodec/pkg-descr | 8 | ||||
-rw-r--r-- | devel/cppcodec/pkg-plist | 26 |
5 files changed, 57 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a43c0f742cae..63502b83ed68 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -500,6 +500,7 @@ SUBDIR += covtool SUBDIR += cpan-upload SUBDIR += cpan-upload-http + SUBDIR += cpp-codec SUBDIR += cpp-netlib SUBDIR += cpp-utilities SUBDIR += cpp2py diff --git a/devel/cppcodec/Makefile b/devel/cppcodec/Makefile new file mode 100644 index 000000000000..b00a805bd5c6 --- /dev/null +++ b/devel/cppcodec/Makefile @@ -0,0 +1,19 @@ +PORTNAME= cppcodec +DISTVERSIONPREFIX= v +DISTVERSION= 0.2 +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 + +BUILD_DEPENDS= catch>0:devel/catch + +USES= cmake localbase +USE_GITHUB= yes +GH_ACCOUNT= tplgy + +.include <bsd.port.mk> diff --git a/devel/cppcodec/distinfo b/devel/cppcodec/distinfo new file mode 100644 index 000000000000..7636ad9bf3e9 --- /dev/null +++ b/devel/cppcodec/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1757103347 +SHA256 (tplgy-cppcodec-v0.2_GH0.tar.gz) = 0edaea2a9d9709d456aa99a1c3e17812ed130f9ef2b5c2d152c230a5cbc5c482 +SIZE (tplgy-cppcodec-v0.2_GH0.tar.gz) = 33984 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 |