Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2021 20:11:39 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568502 - in head/devel: . inih
Message-ID:  <202103152011.12FKBd9H036751@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Mar 15 20:11:39 2021
New Revision: 568502
URL: https://svnweb.freebsd.org/changeset/ports/568502

Log:
  New port: devel/inih: Simple .INI file parser written in C

Added:
  head/devel/inih/
  head/devel/inih/Makefile   (contents, props changed)
  head/devel/inih/distinfo   (contents, props changed)
  head/devel/inih/pkg-descr   (contents, props changed)
  head/devel/inih/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Mar 15 20:09:28 2021	(r568501)
+++ head/devel/Makefile	Mon Mar 15 20:11:39 2021	(r568502)
@@ -975,6 +975,7 @@
     SUBDIR += include-what-you-use
     SUBDIR += indicators
     SUBDIR += inifiled
+    SUBDIR += inih
     SUBDIR += inilib
     SUBDIR += inilike
     SUBDIR += iniparser

Added: head/devel/inih/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/inih/Makefile	Mon Mar 15 20:11:39 2021	(r568502)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	inih
+DISTVERSIONPREFIX=	r
+DISTVERSION=	53
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Simple .INI file parser written in C
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+TEST_DEPENDS=	bash:shells/bash
+
+USES=		meson
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	benhoyt
+
+do-test:
+	@cd ${WRKSRC}/tests && \
+		${REINPLACE_CMD} -e 's|gcc|${CC}|' unittest.sh && \
+		./unittest.sh
+
+.include <bsd.port.mk>

Added: head/devel/inih/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/inih/distinfo	Mon Mar 15 20:11:39 2021	(r568502)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1615838417
+SHA256 (benhoyt-inih-r53_GH0.tar.gz) = 01b0366fdfdf6363efc070c2f856f1afa33e7a6546548bada5456ad94a516241
+SIZE (benhoyt-inih-r53_GH0.tar.gz) = 16984

Added: head/devel/inih/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/inih/pkg-descr	Mon Mar 15 20:11:39 2021	(r568502)
@@ -0,0 +1,7 @@
+inih (INI Not Invented Here) is a simple .INI file parser written in C. It's
+only a couple of pages of code, and it was designed to be small and simple, so
+it's good for embedded systems. It's also more or less compatible with Python's
+ConfigParser style of .INI files, including RFC 822-style multi-line syntax and
+name: value entries.
+
+WWW: https://github.com/benhoyt/inih

Added: head/devel/inih/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/inih/pkg-plist	Mon Mar 15 20:11:39 2021	(r568502)
@@ -0,0 +1,8 @@
+include/INIReader.h
+include/ini.h
+lib/libINIReader.so
+lib/libINIReader.so.0
+lib/libinih.so
+lib/libinih.so.0
+libdata/pkgconfig/INIReader.pc
+libdata/pkgconfig/inih.pc



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