From 093a6e612f4287fbf81aef04240183995aff68e4 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 2 Feb 2024 10:57:16 +0100 Subject: devel/libscfg: add new port C library for a simple configuration file format https://sr.ht/~emersion/libscfg/ --- devel/Makefile | 1 + devel/libscfg/Makefile | 20 ++++++++++++++++++++ devel/libscfg/distinfo | 3 +++ devel/libscfg/pkg-descr | 1 + 4 files changed, 25 insertions(+) create mode 100644 devel/libscfg/Makefile create mode 100644 devel/libscfg/distinfo create mode 100644 devel/libscfg/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 4a093dd2f51a..fef639a0b74d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1387,6 +1387,7 @@ SUBDIR += libs11n SUBDIR += libsavitar SUBDIR += libscca + SUBDIR += libscfg SUBDIR += libsearpc SUBDIR += libserdes SUBDIR += libserialport diff --git a/devel/libscfg/Makefile b/devel/libscfg/Makefile new file mode 100644 index 000000000000..9b0168c55e8a --- /dev/null +++ b/devel/libscfg/Makefile @@ -0,0 +1,20 @@ +PORTNAME= libscfg +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.1 +CATEGORIES= devel +MASTER_SITES= https://git.sr.ht/~emersion/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= C library for a simple configuration file format +WWW= https://sr.ht/~emersion/libscfg/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= meson pkgconfig +USE_LDCONFIG= yes +PLIST_FILES= include/${PORTNAME:S/lib//}.h \ + lib/${PORTNAME}.so \ + libdata/pkgconfig/${PORTNAME:S/lib//}.pc + +.include diff --git a/devel/libscfg/distinfo b/devel/libscfg/distinfo new file mode 100644 index 000000000000..32dd7e634362 --- /dev/null +++ b/devel/libscfg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1706867836 +SHA256 (libscfg-v0.1.1.tar.gz) = 621a91bf233176e0052e9444f0a42696ad1bfda24b25c027c99cb6e693f273d7 +SIZE (libscfg-v0.1.1.tar.gz) = 4081 diff --git a/devel/libscfg/pkg-descr b/devel/libscfg/pkg-descr new file mode 100644 index 000000000000..50c69146ca24 --- /dev/null +++ b/devel/libscfg/pkg-descr @@ -0,0 +1 @@ +A C library for scfg. -- cgit v1.2.3