Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2024 00:48:32 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 093a6e612f42 - main - devel/libscfg: add new port
Message-ID:  <202403280048.42S0mWYX057598@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=093a6e612f4287fbf81aef04240183995aff68e4

commit 093a6e612f4287fbf81aef04240183995aff68e4
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-02-02 09:57:16 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-28 00:47:59 +0000

    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(+)

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403280048.42S0mWYX057598>