Skip to content

Commit

Permalink
devel/yder: Update to 1.4.19
Browse files Browse the repository at this point in the history
- Add examples
- Take maintainership

ChangeLog: https://github.com/babelouest/yder/blob/master/CHANGELOG.md
  • Loading branch information
nunotexbsd committed Jun 26, 2023
1 parent 7c381ec commit 6975ae9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
24 changes: 14 additions & 10 deletions 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>
6 changes: 3 additions & 3 deletions 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
5 changes: 5 additions & 0 deletions 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%%
Expand Down

0 comments on commit 6975ae9

Please sign in to comment.