git: 6975ae92b7fb - main - devel/yder: Update to 1.4.19

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 07:52:33 UTC
The branch main has been updated by eduardo:

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

commit 6975ae92b7fb47e282d5532f4c77314ff2c036bf
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-06-26 07:50:47 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-06-26 07:52:19 +0000

    devel/yder: Update to 1.4.19
    
    - Add examples
    - Take maintainership
    
    ChangeLog: https://github.com/babelouest/yder/blob/master/CHANGELOG.md
---
 devel/yder/Makefile  | 24 ++++++++++++++----------
 devel/yder/distinfo  |  6 +++---
 devel/yder/pkg-plist |  5 +++++
 3 files changed, 22 insertions(+), 13 deletions(-)

diff --git a/devel/yder/Makefile b/devel/yder/Makefile
index b800e2c5c4b7..d67f2a67e06b 100644
--- a/devel/yder/Makefile
+++ b/devel/yder/Makefile
@@ -1,30 +1,34 @@
 PORTNAME=	yder
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.4.18
+DISTVERSION=	1.4.19
 CATEGORIES=	devel
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Logging library for C applications
 WWW=		https://github.com/babelouest/yder
 
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake
+BUILD_DEPENDS=	orcania>=2.3.2:devel/orcania
+LIB_DEPENDS=	liborcania.so:devel/orcania
+RUN_DEPENDS=	jansson>=2.4:devel/jansson
 
+USES=		cmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	babelouest
 
-LIB_DEPENDS=	libjansson.so:devel/jansson \
-		liborcania.so:devel/orcania
+CMAKE_OFF=	DOWNLOAD_DEPENDENCIES WITH_JOURNALD
 
-BUILD_DEPENDS=	orcania>=2.3.0:devel/orcania
+PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
-RUN_DEPENDS=	jansson>=2.4:devel/jansson
+PORTEXAMPLES=	Makefile log_callback.c log_combined.c log_console.c log_file.c \
+		log_journald.c log_newline.c log_syslog.c
 
-CMAKE_ARGS=	-DWITH_JOURNALD=off \
-		-DDOWNLOAD_DEPENDENCIES=off
+OPTIONS_DEFINE=	EXAMPLES
 
-PLIST_SUB=	PORTVERSION=${PORTVERSION}
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>
diff --git a/devel/yder/distinfo b/devel/yder/distinfo
index d8ff62c0292b..c85e89f0d892 100644
--- a/devel/yder/distinfo
+++ b/devel/yder/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1670088758
-SHA256 (babelouest-yder-v1.4.18_GH0.tar.gz) = b69cc81f6630f66468595d151446c00c90abed058f03f82e151591b8598a7598
-SIZE (babelouest-yder-v1.4.18_GH0.tar.gz) = 59553
+TIMESTAMP = 1687761962
+SHA256 (babelouest-yder-v1.4.19_GH0.tar.gz) = 9d566dae01849ed5c76f3143f20ba0bf0cbeb59eaf68d5296b22a26c9b279cc0
+SIZE (babelouest-yder-v1.4.19_GH0.tar.gz) = 33569
diff --git a/devel/yder/pkg-plist b/devel/yder/pkg-plist
index e01179c912ce..96dbe612f3a3 100644
--- a/devel/yder/pkg-plist
+++ b/devel/yder/pkg-plist
@@ -1,5 +1,10 @@
 include/yder-cfg.h
 include/yder.h
+lib/cmake/Yder/FindSystemd.cmake
+lib/cmake/Yder/YderConfig.cmake
+lib/cmake/Yder/YderConfigVersion.cmake
+lib/cmake/Yder/YderTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/Yder/YderTargets.cmake
 lib/libyder.so
 lib/libyder.so.1.4
 lib/libyder.so.%%PORTVERSION%%