git: 1cc2dd01e974 - main - devel/yder: Add new port: Logging library in C
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Dec 2021 01:24:26 UTC
The branch main has been updated by dvl:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1cc2dd01e97487689ca7bd1754e2feef7d239864
commit 1cc2dd01e97487689ca7bd1754e2feef7d239864
Author: Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2021-12-28 22:20:53 +0000
Commit: Dan Langille <dvl@FreeBSD.org>
CommitDate: 2021-12-29 01:23:00 +0000
devel/yder: Add new port: Logging library in C
Added because it is a dependency of www/glewlwyd - see upcoming commit
---
devel/Makefile | 1 +
devel/yder/Makefile | 26 ++++++++++++++++++++++++++
devel/yder/distinfo | 3 +++
devel/yder/pkg-descr | 9 +++++++++
devel/yder/pkg-plist | 6 ++++++
5 files changed, 45 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index eb4384ae3211..8e5d9d708b61 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7220,6 +7220,7 @@
SUBDIR += yaml2argdata
SUBDIR += yasm
SUBDIR += yasm-devel
+ SUBDIR += yder
SUBDIR += youcompleteme
SUBDIR += yuck
SUBDIR += z80-asm
diff --git a/devel/yder/Makefile b/devel/yder/Makefile
new file mode 100644
index 000000000000..68d02a2e784f
--- /dev/null
+++ b/devel/yder/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= yder
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.4.14
+CATEGORIES= devel
+
+MAINTAINER= dvl@FreeBSD.org
+COMMENT= Logging library for C applications
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake
+
+USE_GITHUB= yes
+GH_ACCOUNT= babelouest
+
+LIB_DEPENDS+= libjansson.so:devel/jansson
+LIB_DEPENDS+= liborcania.so:devel/orcania
+
+BUILD_DEPENDS+= orcania>0:devel/orcania
+
+RUN_DEPENDS+= jansson>0:devel/jansson
+
+CMAKE_ARGS= -DWITH_JOURNALD=off
+
+.include <bsd.port.mk>
diff --git a/devel/yder/distinfo b/devel/yder/distinfo
new file mode 100644
index 000000000000..cb6d4498b912
--- /dev/null
+++ b/devel/yder/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1640727123
+SHA256 (babelouest-yder-v1.4.14_GH0.tar.gz) = 20b38969abe32022d938c4078fc137fafc8613cae8890efc97a754a6dee07e1f
+SIZE (babelouest-yder-v1.4.14_GH0.tar.gz) = 58093
diff --git a/devel/yder/pkg-descr b/devel/yder/pkg-descr
new file mode 100644
index 000000000000..c3ac075d6081
--- /dev/null
+++ b/devel/yder/pkg-descr
@@ -0,0 +1,9 @@
+Logging library written in C.
+
+Simple and easy to use logging library. You can log messages to the console,
+a file, syslog or journald.
+
+Yder is mono-thread, which mean that you can use only one instance of yder log
+at the same time in your program.
+
+WWW: https://github.com/babelouest/yder
diff --git a/devel/yder/pkg-plist b/devel/yder/pkg-plist
new file mode 100644
index 000000000000..b97fc9ea852e
--- /dev/null
+++ b/devel/yder/pkg-plist
@@ -0,0 +1,6 @@
+include/yder-cfg.h
+include/yder.h
+lib/libyder.so
+lib/libyder.so.1.4
+lib/libyder.so.1.4.14
+libdata/pkgconfig/libyder.pc