Skip to content

Commit

Permalink
Add libconfini version 1.16.3 to pkgsrc-wip
Browse files Browse the repository at this point in the history
Add libconfini version 1.16.3 to pkgsrc-wip.

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.
  • Loading branch information
Niclas Rosenvik committed Apr 15, 2022
1 parent 9db6ebc commit 61ede6d
Show file tree
Hide file tree
Showing 7 changed files with 104 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2047,6 +2047,7 @@ SUBDIR+= libclocale
SUBDIR+= libcm
SUBDIR+= libcmt
SUBDIR+= libcnotify
SUBDIR+= libconfini
SUBDIR+= libcouchbase
SUBDIR+= libcpath
SUBDIR+= libcpu
Expand Down
4 changes: 4 additions & 0 deletions libconfini/DESCR
Original file line number Diff line number Diff line change
@@ -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.
22 changes: 22 additions & 0 deletions libconfini/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
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"
58 changes: 58 additions & 0 deletions libconfini/PLIST
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions libconfini/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Finished, if something will need it in
pkgsrc-current please add it.
12 changes: 12 additions & 0 deletions libconfini/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions libconfini/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 61ede6d

Please sign in to comment.