diff --git a/devel/Makefile b/devel/Makefile index e49bc20fbcc2a..47546608ac93d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1155,6 +1155,7 @@ SUBDIR += libburn SUBDIR += libcbor SUBDIR += libccid + SUBDIR += libcdada SUBDIR += libcdb SUBDIR += libcds SUBDIR += libcfu diff --git a/devel/libcdada/Makefile b/devel/libcdada/Makefile new file mode 100644 index 0000000000000..1e0218604d415 --- /dev/null +++ b/devel/libcdada/Makefile @@ -0,0 +1,19 @@ +PORTNAME= libcdada +DISTVERSION= 0.4.0 +CATEGORIES= devel + +MAINTAINER= pi@FreeBSD.org +COMMENT= Basic data structures in C as libstdc++ wrapper +WWW= https://github.com/msune/libcdada + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= autoreconf pkgconfig python:3.8+ shebangfix +SHEBANG_FILES= tools/cdada-gen +USE_GITHUB= yes +GNU_CONFIGURE= yes +GH_ACCOUNT= msune +GH_TAGNAME= 4eb0b61 + +.include diff --git a/devel/libcdada/distinfo b/devel/libcdada/distinfo new file mode 100644 index 0000000000000..42c10d3244942 --- /dev/null +++ b/devel/libcdada/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677488705 +SHA256 (msune-libcdada-0.4.0-4eb0b61_GH0.tar.gz) = 05271adabadbdc9c77a78fefbe8eb30aaebdfa7e8345fc41de8947555070b410 +SIZE (msune-libcdada-0.4.0-4eb0b61_GH0.tar.gz) = 1777253 diff --git a/devel/libcdada/pkg-descr b/devel/libcdada/pkg-descr new file mode 100644 index 0000000000000..4a01f91ffe199 --- /dev/null +++ b/devel/libcdada/pkg-descr @@ -0,0 +1,9 @@ +Small library that offers basic data structures (list, set, map...) +in a pure C API for user-space applications. Key features: + +- Easy to use, portable +- No "magic" MACROs, and no need to modify your data structures + (except, perhaps, for __attribute__((packed))) +- Stable and well-tested backend engine (libstdc++) for most of + the data structures +- Reasonable performance - comparable to libstdc++ diff --git a/devel/libcdada/pkg-plist b/devel/libcdada/pkg-plist new file mode 100644 index 0000000000000..fcacd232752e8 --- /dev/null +++ b/devel/libcdada/pkg-plist @@ -0,0 +1,26 @@ +bin/cdada-gen +include/cdada.h +include/cdada/__common_internal.h +include/cdada/__list_internal.h +include/cdada/__map_internal.h +include/cdada/__queue_internal.h +include/cdada/__set_internal.h +include/cdada/__stack_internal.h +include/cdada/bbitmap.h +include/cdada/list.h +include/cdada/list_custom_cc.h +include/cdada/map.h +include/cdada/map_custom_cc.h +include/cdada/queue.h +include/cdada/queue_custom_cc.h +include/cdada/set.h +include/cdada/set_custom_cc.h +include/cdada/stack.h +include/cdada/stack_custom_cc.h +include/cdada/str.h +include/cdada/utils.h +include/cdada/version.h +lib/libcdada.a +lib/libcdada.so +lib/libcdada.so.0 +lib/libcdada.so.0.0.0