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
--- 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 | |
4 | COMMENT= Text processing utilities (does not include desktop publishing) | | 4 | COMMENT= Text processing utilities (does not include desktop publishing) |
5 | | | 5 | |
6 | SUBDIR+= CRF++ | | 6 | SUBDIR+= CRF++ |
7 | SUBDIR+= DWB | | 7 | SUBDIR+= DWB |
8 | SUBDIR+= FlightCrew | | 8 | SUBDIR+= FlightCrew |
9 | SUBDIR+= GutenMark | | 9 | SUBDIR+= GutenMark |
10 | SUBDIR+= GutenMark-words | | 10 | SUBDIR+= GutenMark-words |
11 | SUBDIR+= LDoc | | 11 | SUBDIR+= LDoc |
12 | SUBDIR+= Markdown | | 12 | SUBDIR+= Markdown |
13 | SUBDIR+= OdfConverter | | 13 | SUBDIR+= OdfConverter |
14 | SUBDIR+= R-DT | | 14 | SUBDIR+= R-DT |
| @@ -376,26 +376,27 @@ SUBDIR+= hunspell-lv_LV | | | @@ -376,26 +376,27 @@ SUBDIR+= hunspell-lv_LV |
376 | SUBDIR+= hunspell-mg_MG | | 376 | SUBDIR+= hunspell-mg_MG |
377 | SUBDIR+= hunspell-ms_MY | | 377 | SUBDIR+= hunspell-ms_MY |
378 | SUBDIR+= hunspell-nl_NL | | 378 | SUBDIR+= hunspell-nl_NL |
379 | SUBDIR+= hunspell-ny_MW | | 379 | SUBDIR+= hunspell-ny_MW |
380 | SUBDIR+= hunspell-pl_PL | | 380 | SUBDIR+= hunspell-pl_PL |
381 | SUBDIR+= hunspell-ru_RU | | 381 | SUBDIR+= hunspell-ru_RU |
382 | SUBDIR+= hunspell-sk_SK | | 382 | SUBDIR+= hunspell-sk_SK |
383 | SUBDIR+= hunspell-sv_SE | | 383 | SUBDIR+= hunspell-sv_SE |
384 | SUBDIR+= hyperestraier | | 384 | SUBDIR+= hyperestraier |
385 | SUBDIR+= hyphen | | 385 | SUBDIR+= hyphen |
386 | SUBDIR+= icu | | 386 | SUBDIR+= icu |
387 | SUBDIR+= igor | | 387 | SUBDIR+= igor |
388 | SUBDIR+= iksemel | | 388 | SUBDIR+= iksemel |
| | | 389 | SUBDIR+= inih |
389 | SUBDIR+= intltool | | 390 | SUBDIR+= intltool |
390 | SUBDIR+= ipadic | | 391 | SUBDIR+= ipadic |
391 | SUBDIR+= isearch | | 392 | SUBDIR+= isearch |
392 | SUBDIR+= iso-codes | | 393 | SUBDIR+= iso-codes |
393 | SUBDIR+= iso12083 | | 394 | SUBDIR+= iso12083 |
394 | SUBDIR+= iso8879 | | 395 | SUBDIR+= iso8879 |
395 | SUBDIR+= ispell | | 396 | SUBDIR+= ispell |
396 | SUBDIR+= ispell-ca | | 397 | SUBDIR+= ispell-ca |
397 | SUBDIR+= ispell-de | | 398 | SUBDIR+= ispell-de |
398 | SUBDIR+= ispell-emacs | | 399 | SUBDIR+= ispell-emacs |
399 | SUBDIR+= ispell-en_GB | | 400 | SUBDIR+= ispell-en_GB |
400 | SUBDIR+= ispell-es | | 401 | SUBDIR+= ispell-es |
401 | SUBDIR+= ispell-fr | | 402 | SUBDIR+= ispell-fr |
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.
# $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"
@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
# $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
$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