1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

devel/libcdada: new port in prepartion for net-mgmt/pmacct update

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++
This commit is contained in:
Kurt Jaeger 2023-02-27 19:50:39 +01:00
parent a3dee70388
commit a1a26e6a8d
5 changed files with 58 additions and 0 deletions

View File

@ -1155,6 +1155,7 @@
SUBDIR += libburn
SUBDIR += libcbor
SUBDIR += libccid
SUBDIR += libcdada
SUBDIR += libcdb
SUBDIR += libcds
SUBDIR += libcfu

19
devel/libcdada/Makefile Normal file
View File

@ -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 <bsd.port.mk>

3
devel/libcdada/distinfo Normal file
View File

@ -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

9
devel/libcdada/pkg-descr Normal file
View File

@ -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++

26
devel/libcdada/pkg-plist Normal file
View File

@ -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