Wed Feb 3 10:28:42 2021 UTC ()
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.


(nia)
diff -r1.1191 -r1.1192 pkgsrc/textproc/Makefile
diff -r0 -r1.1 pkgsrc/textproc/inih/DESCR
diff -r0 -r1.1 pkgsrc/textproc/inih/Makefile
diff -r0 -r1.1 pkgsrc/textproc/inih/PLIST
diff -r0 -r1.1 pkgsrc/textproc/inih/buildlink3.mk
diff -r0 -r1.1 pkgsrc/textproc/inih/distinfo

cvs diff -r1.1191 -r1.1192 pkgsrc/textproc/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/Makefile 2021/01/31 15:57:58 1.1191
+++ pkgsrc/textproc/Makefile 2021/02/03 10:28:41 1.1192
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.1191 2021/01/31 15:57:58 pin Exp $ 1# $NetBSD: Makefile,v 1.1192 2021/02/03 10:28:41 nia Exp $
2# 2#
3 3
4COMMENT= Text processing utilities (does not include desktop publishing) 4COMMENT= Text processing utilities (does not include desktop publishing)
5 5
6SUBDIR+= CRF++ 6SUBDIR+= CRF++
7SUBDIR+= DWB 7SUBDIR+= DWB
8SUBDIR+= FlightCrew 8SUBDIR+= FlightCrew
9SUBDIR+= GutenMark 9SUBDIR+= GutenMark
10SUBDIR+= GutenMark-words 10SUBDIR+= GutenMark-words
11SUBDIR+= LDoc 11SUBDIR+= LDoc
12SUBDIR+= Markdown 12SUBDIR+= Markdown
13SUBDIR+= OdfConverter 13SUBDIR+= OdfConverter
14SUBDIR+= R-DT 14SUBDIR+= R-DT
@@ -376,26 +376,27 @@ SUBDIR+= hunspell-lv_LV @@ -376,26 +376,27 @@ SUBDIR+= hunspell-lv_LV
376SUBDIR+= hunspell-mg_MG 376SUBDIR+= hunspell-mg_MG
377SUBDIR+= hunspell-ms_MY 377SUBDIR+= hunspell-ms_MY
378SUBDIR+= hunspell-nl_NL 378SUBDIR+= hunspell-nl_NL
379SUBDIR+= hunspell-ny_MW 379SUBDIR+= hunspell-ny_MW
380SUBDIR+= hunspell-pl_PL 380SUBDIR+= hunspell-pl_PL
381SUBDIR+= hunspell-ru_RU 381SUBDIR+= hunspell-ru_RU
382SUBDIR+= hunspell-sk_SK 382SUBDIR+= hunspell-sk_SK
383SUBDIR+= hunspell-sv_SE 383SUBDIR+= hunspell-sv_SE
384SUBDIR+= hyperestraier 384SUBDIR+= hyperestraier
385SUBDIR+= hyphen 385SUBDIR+= hyphen
386SUBDIR+= icu 386SUBDIR+= icu
387SUBDIR+= igor 387SUBDIR+= igor
388SUBDIR+= iksemel 388SUBDIR+= iksemel
 389SUBDIR+= inih
389SUBDIR+= intltool 390SUBDIR+= intltool
390SUBDIR+= ipadic 391SUBDIR+= ipadic
391SUBDIR+= isearch 392SUBDIR+= isearch
392SUBDIR+= iso-codes 393SUBDIR+= iso-codes
393SUBDIR+= iso12083 394SUBDIR+= iso12083
394SUBDIR+= iso8879 395SUBDIR+= iso8879
395SUBDIR+= ispell 396SUBDIR+= ispell
396SUBDIR+= ispell-ca 397SUBDIR+= ispell-ca
397SUBDIR+= ispell-de 398SUBDIR+= ispell-de
398SUBDIR+= ispell-emacs 399SUBDIR+= ispell-emacs
399SUBDIR+= ispell-en_GB 400SUBDIR+= ispell-en_GB
400SUBDIR+= ispell-es 401SUBDIR+= ispell-es
401SUBDIR+= ispell-fr 402SUBDIR+= ispell-fr

File Added: pkgsrc/textproc/inih/DESCR
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.

File Added: pkgsrc/textproc/inih/Makefile
# $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
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"

File Added: pkgsrc/textproc/inih/PLIST
@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

File Added: pkgsrc/textproc/inih/buildlink3.mk
# $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

File Added: pkgsrc/textproc/inih/distinfo
$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