diff --git a/Makefile b/Makefile index 532d726d5bd..202a27e53f4 100644 --- a/Makefile +++ b/Makefile @@ -2047,6 +2047,7 @@ SUBDIR+= libclocale SUBDIR+= libcm SUBDIR+= libcmt SUBDIR+= libcnotify +SUBDIR+= libconfini SUBDIR+= libcouchbase SUBDIR+= libcpath SUBDIR+= libcpu diff --git a/libconfini/DESCR b/libconfini/DESCR new file mode 100644 index 00000000000..615bbcb4bdf --- /dev/null +++ b/libconfini/DESCR @@ -0,0 +1,4 @@ +libconfini is an ini parser originally designed for parsing configuration +files written by other programs. It claims to be the ultimate and most +consistent INI file parser library written in C. +Focus is on standardization and parsing exactness. diff --git a/libconfini/Makefile b/libconfini/Makefile new file mode 100644 index 00000000000..8dccbddd0e9 --- /dev/null +++ b/libconfini/Makefile @@ -0,0 +1,22 @@ +# $NetBSD$ + +DISTNAME= libconfini-1.16.3-with-configure +PKGNAME= ${DISTNAME:S/-with-configure//g} +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_GITHUB:=madmurphy/} +GITHUB_PROJECT= libconfini +GITHUB_RELEASE= ${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://madmurphy.github.io/libconfini/ +COMMENT= Yet another INI parser +LICENSE= gnu-gpl-v3 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ + +PKGCONFIG_OVERRIDE+= src/libconfini.pc.in + +.include "../../mk/bsd.pkg.mk" diff --git a/libconfini/PLIST b/libconfini/PLIST new file mode 100644 index 00000000000..4276f12c1dd --- /dev/null +++ b/libconfini/PLIST @@ -0,0 +1,58 @@ +@comment $NetBSD$ +include/confini-1.16.h +include/confini-1.h +include/confini.h +lib/libconfini.la +lib/pkgconfig/libconfini.pc +man/man3/IniDispatch.3 +man/man3/IniFormat.3 +man/man3/IniStatistics.3 +man/man3/confini.h.3 +man/man3/libconfini.3 +share/doc/libconfini/AUTHORS +share/doc/libconfini/COPYING +share/doc/libconfini/ChangeLog +share/doc/libconfini/NEWS +share/doc/libconfini/README +share/doc/libconfini/examples/cplusplus/generic.cpp +share/doc/libconfini/examples/cplusplus/map.cpp +share/doc/libconfini/examples/cplusplus/map.hpp +share/doc/libconfini/examples/ini_files/ambiguous.conf +share/doc/libconfini/examples/ini_files/bad_ini.conf +share/doc/libconfini/examples/ini_files/colon_as_delimiter.conf +share/doc/libconfini/examples/ini_files/delivery.conf +share/doc/libconfini/examples/ini_files/extreme_ini.conf +share/doc/libconfini/examples/ini_files/hash_table.conf +share/doc/libconfini/examples/ini_files/log.ini +share/doc/libconfini/examples/ini_files/pacman.conf +share/doc/libconfini/examples/ini_files/self_explaining.conf +share/doc/libconfini/examples/ini_files/toml-like.conf +share/doc/libconfini/examples/ini_files/typed_ini.conf +share/doc/libconfini/examples/ini_files/unix-like.conf +share/doc/libconfini/examples/miscellanea/colon_as_delimiter.c +share/doc/libconfini/examples/miscellanea/disambiguate.c +share/doc/libconfini/examples/miscellanea/dispatch_everything.c +share/doc/libconfini/examples/miscellanea/glib_hash_table.c +share/doc/libconfini/examples/miscellanea/parse_foreign.c +share/doc/libconfini/examples/miscellanea/print_format.c +share/doc/libconfini/examples/miscellanea/stats_only.c +share/doc/libconfini/examples/miscellanea/toml-like.c +share/doc/libconfini/examples/miscellanea/typed_ini.c +share/doc/libconfini/examples/run-example.sh +share/doc/libconfini/examples/topics/ini_array_break.c +share/doc/libconfini/examples/topics/ini_array_collapse.c +share/doc/libconfini/examples/topics/ini_array_foreach.c +share/doc/libconfini/examples/topics/ini_array_release.c +share/doc/libconfini/examples/topics/ini_array_shift.c +share/doc/libconfini/examples/topics/ini_array_split.c +share/doc/libconfini/examples/topics/ini_global_set_implicit_value.c +share/doc/libconfini/examples/topics/ini_string_match_si.c +share/doc/libconfini/examples/topics/ini_string_parse.c +share/doc/libconfini/examples/topics/load_ini_file.c +share/doc/libconfini/examples/topics/load_ini_path.c +share/doc/libconfini/examples/topics/strip_ini_cache.c +share/doc/libconfini/examples/utilities/clone_ini_dispatch.h +share/doc/libconfini/examples/utilities/ini_string_preparse.h +share/doc/libconfini/examples/utilities/load_ini_buffer.h +share/doc/libconfini/examples/utilities/make_strarray.h +share/doc/libconfini/manual.html diff --git a/libconfini/TODO b/libconfini/TODO new file mode 100644 index 00000000000..31958152361 --- /dev/null +++ b/libconfini/TODO @@ -0,0 +1,2 @@ +Finished, if something will need it in +pkgsrc-current please add it. diff --git a/libconfini/buildlink3.mk b/libconfini/buildlink3.mk new file mode 100644 index 00000000000..5a0146917cf --- /dev/null +++ b/libconfini/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD$ + +BUILDLINK_TREE+= libconfini + +.if !defined(LIBCONFINI_BUILDLINK3_MK) +LIBCONFINI_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libconfini+= libconfini>=1.16.3 +BUILDLINK_PKGSRCDIR.libconfini?= ../../wip/libconfini +.endif # LIBCONFINI_BUILDLINK3_MK + +BUILDLINK_TREE+= -libconfini diff --git a/libconfini/distinfo b/libconfini/distinfo new file mode 100644 index 00000000000..80a818c6727 --- /dev/null +++ b/libconfini/distinfo @@ -0,0 +1,5 @@ +$NetBSD$ + +BLAKE2s (libconfini-1.16.3-with-configure.tar.gz) = cef2152a6954056b2f8ac269e8802f91afba796ecfc4fead532fb8b9005f4325 +SHA512 (libconfini-1.16.3-with-configure.tar.gz) = 4c0258ad3fa1098e25669f069be426aad4269b3773ce4120db23ed708cc7112088d95790a03e22031b6766caa7056de37930cd34f57e987ecd21331178ef2b30 +Size (libconfini-1.16.3-with-configure.tar.gz) = 891464 bytes