git: b081ddf6305e - main - devel/zix: New port: Lightweight C library of portability wrappers and data structures

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 25 Oct 2023 08:37:58 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b081ddf6305e320e4588e25a0d42ef005beb1511

commit b081ddf6305e320e4588e25a0d42ef005beb1511
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-10-24 22:20:41 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-10-25 08:37:43 +0000

    devel/zix: New port: Lightweight C library of portability wrappers and data structures
    
    WWW: https://drobilla.net/category/zix/
---
 devel/Makefile      |  1 +
 devel/zix/Makefile  | 20 ++++++++++++++++++++
 devel/zix/distinfo  |  3 +++
 devel/zix/pkg-descr |  1 +
 devel/zix/pkg-plist | 19 +++++++++++++++++++
 5 files changed, 44 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f399e4ee205d..bb4bc4ba1957 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7873,6 +7873,7 @@
     SUBDIR += zapcc
     SUBDIR += zeal
     SUBDIR += zfp
+    SUBDIR += zix
     SUBDIR += zls
     SUBDIR += zookeeper
     SUBDIR += zthread
diff --git a/devel/zix/Makefile b/devel/zix/Makefile
new file mode 100644
index 000000000000..8701da3e115a
--- /dev/null
+++ b/devel/zix/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	zix
+DISTVERSION=	0.4.2
+CATEGORIES=	devel
+MASTER_SITES=	http://download.drobilla.net/
+
+MAINTAINER=	eduardo@FreeBSD.org
+COMMENT=	Lightweight C library of portability wrappers and data structures
+WWW=		https://drobilla.net/category/zix/
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:devel/glib20
+
+USES=		meson pkgconfig python:build tar:xz
+USE_LDCONFIG=	yes
+MESON_ARGS=	-Ddocs=disabled
+PLIST_SUB=	VERSION=${DISTVERSION}
+
+.include <bsd.port.mk>
diff --git a/devel/zix/distinfo b/devel/zix/distinfo
new file mode 100644
index 000000000000..91863da31d3d
--- /dev/null
+++ b/devel/zix/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1698132155
+SHA256 (zix-0.4.2.tar.xz) = 0c071cc11ab030bdc668bea3b46781b6dafd47ddd03b6d0c2bc1ebe7177e488d
+SIZE (zix-0.4.2.tar.xz) = 76492
diff --git a/devel/zix/pkg-descr b/devel/zix/pkg-descr
new file mode 100644
index 000000000000..f7d6f20988bd
--- /dev/null
+++ b/devel/zix/pkg-descr
@@ -0,0 +1 @@
+Zix is a lightweight C library of portability wrappers and data structures.
diff --git a/devel/zix/pkg-plist b/devel/zix/pkg-plist
new file mode 100644
index 000000000000..61878a5cc7e1
--- /dev/null
+++ b/devel/zix/pkg-plist
@@ -0,0 +1,19 @@
+include/zix-0/zix/allocator.h
+include/zix-0/zix/attributes.h
+include/zix-0/zix/btree.h
+include/zix-0/zix/bump_allocator.h
+include/zix-0/zix/digest.h
+include/zix-0/zix/filesystem.h
+include/zix-0/zix/hash.h
+include/zix-0/zix/path.h
+include/zix-0/zix/ring.h
+include/zix-0/zix/sem.h
+include/zix-0/zix/status.h
+include/zix-0/zix/string_view.h
+include/zix-0/zix/thread.h
+include/zix-0/zix/tree.h
+include/zix-0/zix/zix.h
+lib/libzix-0.so
+lib/libzix-0.so.0
+lib/libzix-0.so.%%VERSION%%
+libdata/pkgconfig/zix-0.pc