pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Feb  3 10:28:42 UTC 2021

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/inih: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1191 -r1.1192 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/inih/DESCR \
    pkgsrc/textproc/inih/Makefile pkgsrc/textproc/inih/PLIST \
    pkgsrc/textproc/inih/buildlink3.mk pkgsrc/textproc/inih/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1191 pkgsrc/textproc/Makefile:1.1192
--- pkgsrc/textproc/Makefile:1.1191     Sun Jan 31 15:57:58 2021
+++ pkgsrc/textproc/Makefile    Wed Feb  3 10:28:41 2021
@@ -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+=    hyphen
 SUBDIR+=       icu
 SUBDIR+=       igor
 SUBDIR+=       iksemel
+SUBDIR+=       inih
 SUBDIR+=       intltool
 SUBDIR+=       ipadic
 SUBDIR+=       isearch

Added files:

Index: pkgsrc/textproc/inih/DESCR
diff -u /dev/null pkgsrc/textproc/inih/DESCR:1.1
--- /dev/null   Wed Feb  3 10:28:42 2021
+++ pkgsrc/textproc/inih/DESCR  Wed Feb  3 10:28:41 2021
@@ -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.
Index: pkgsrc/textproc/inih/Makefile
diff -u /dev/null pkgsrc/textproc/inih/Makefile:1.1
--- /dev/null   Wed Feb  3 10:28:42 2021
+++ pkgsrc/textproc/inih/Makefile       Wed Feb  3 10:28:41 2021
@@ -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"
Index: pkgsrc/textproc/inih/PLIST
diff -u /dev/null pkgsrc/textproc/inih/PLIST:1.1
--- /dev/null   Wed Feb  3 10:28:42 2021
+++ pkgsrc/textproc/inih/PLIST  Wed Feb  3 10:28:41 2021
@@ -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
Index: pkgsrc/textproc/inih/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/inih/buildlink3.mk:1.1
--- /dev/null   Wed Feb  3 10:28:42 2021
+++ pkgsrc/textproc/inih/buildlink3.mk  Wed Feb  3 10:28:41 2021
@@ -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
Index: pkgsrc/textproc/inih/distinfo
diff -u /dev/null pkgsrc/textproc/inih/distinfo:1.1
--- /dev/null   Wed Feb  3 10:28:42 2021
+++ pkgsrc/textproc/inih/distinfo       Wed Feb  3 10:28:41 2021
@@ -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