pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc add textproc/inih.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95c5b631a87d
branches:  trunk
changeset: 445997:95c5b631a87d
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Feb 03 10:28:41 2021 +0000

description:
add textproc/inih.

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.

diffstat:

 textproc/Makefile           |   3 ++-
 textproc/inih/DESCR         |   5 +++++
 textproc/inih/Makefile      |  28 ++++++++++++++++++++++++++++
 textproc/inih/PLIST         |   9 +++++++++
 textproc/inih/buildlink3.mk |  12 ++++++++++++
 textproc/inih/distinfo      |   6 ++++++
 6 files changed, 62 insertions(+), 1 deletions(-)

diffs (97 lines):

diff -r ece877438c88 -r 95c5b631a87d textproc/Makefile
--- a/textproc/Makefile Wed Feb 03 09:52:05 2021 +0000
+++ b/textproc/Makefile Wed Feb 03 10:28:41 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1191 2021/01/31 15:57:58 pin Exp $
+# $NetBSD: Makefile,v 1.1192 2021/02/03 10:28:41 nia Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -386,6 +386,7 @@
 SUBDIR+=       icu
 SUBDIR+=       igor
 SUBDIR+=       iksemel
+SUBDIR+=       inih
 SUBDIR+=       intltool
 SUBDIR+=       ipadic
 SUBDIR+=       isearch
diff -r ece877438c88 -r 95c5b631a87d textproc/inih/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/inih/DESCR       Wed Feb 03 10:28:41 2021 +0000
@@ -0,0 +1,5 @@
+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.
diff -r ece877438c88 -r 95c5b631a87d textproc/inih/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/inih/Makefile    Wed Feb 03 10:28:41 2021 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2021/02/03 10:28:41 nia Exp $
+
+DISTNAME=      inih-r52
+PKGNAME=       ${DISTNAME:S/-r/-/1}
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=benhoyt/}
+GITHUB_PROJECT=        inih
+GITHUB_TAG=    r${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/benhoyt/inih
+COMMENT=       Simple .INI file parser in C
+LICENSE=       modified-bsd
+
+USE_LANGUAGES= c c++
+
+MESON_ARGS+=   -Ddefault_library=shared
+MESON_ARGS+=   -Ddistro_install=true
+MESON_ARGS+=   -Dwith_INIReader=true
+
+PYTHON_FOR_BUILD_ONLY= tool
+
+PKGCONFIG_OVERRIDE_STAGE=      pre-install
+PKGCONFIG_OVERRIDE+=           output/meson-private/inih.pc
+PKGCONFIG_OVERRIDE+=           output/meson-private/INIReader.pc
+
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ece877438c88 -r 95c5b631a87d textproc/inih/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/inih/PLIST       Wed Feb 03 10:28:41 2021 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/03 10:28:41 nia Exp $
+include/INIReader.h
+include/ini.h
+lib/libINIReader.so
+lib/libINIReader.so.0
+lib/libinih.so
+lib/libinih.so.0
+lib/pkgconfig/INIReader.pc
+lib/pkgconfig/inih.pc
diff -r ece877438c88 -r 95c5b631a87d textproc/inih/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/inih/buildlink3.mk       Wed Feb 03 10:28:41 2021 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/02/03 10:28:41 nia Exp $
+
+BUILDLINK_TREE+=       inih
+
+.if !defined(INIH_BUILDLINK3_MK)
+INIH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.inih+=   inih>=52
+BUILDLINK_PKGSRCDIR.inih?=     ../../textproc/inih
+.endif # INIH_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -inih
diff -r ece877438c88 -r 95c5b631a87d textproc/inih/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/inih/distinfo    Wed Feb 03 10:28:41 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/02/03 10:28:41 nia Exp $
+
+SHA1 (inih-r52.tar.gz) = 98bd05451d50bf7ec17022bf684262bf18249b78
+RMD160 (inih-r52.tar.gz) = d042a5a483d2c68deff560cd7ae869675429594f
+SHA512 (inih-r52.tar.gz) = 14c0d0dbd78efc99bec8df12067107d130eef8b124e0616f7d83dc4e14530b57f0c8fcf0b8862d425b5a0b84d6c6a6bff7b3c852c9b2e2364ef56c8f64a1f339
+Size (inih-r52.tar.gz) = 16808 bytes



Home | Main Index | Thread Index | Old Index