aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-02-02 09:57:16 +0000
committerJan Beich <jbeich@FreeBSD.org>2024-03-28 00:47:59 +0000
commit093a6e612f4287fbf81aef04240183995aff68e4 (patch)
tree44a4ac38636184aacab8933dedc56baeebddd448
parentdb9d44284afe111b5810fb5d9a3188cc92c65a7d (diff)
devel/libscfg: add new port
C library for a simple configuration file format https://sr.ht/~emersion/libscfg/
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libscfg/Makefile20
-rw-r--r--devel/libscfg/distinfo3
-rw-r--r--devel/libscfg/pkg-descr1
4 files changed, 25 insertions, 0 deletions
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 <bsd.port.mk>
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.