BSD Ports

devel/libconfuse 3.3 MidnightBSD

Configuration file parsing library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
iscl
Categories
devel

Description

libConfuse is a configuration file parser library, licensed under the terms of the ISC, and written in C. It supports sections and (lists of) values (strings, integers, floats, booleans or other sections), as well as some other features (such as single/double-quoted strings, environment variable expansion, functions and nested include statements). It makes it very easy to add configuration file capability to a program using a simple API.

The goal of libConfuse is not to be the configuration file parser library with a gazillion of features. Instead, it aims to be easy to use and quick to integrate with your code. libConfuse was called libcfg before, but was changed to not confuse with other similar libraries.

Project homepage:

In the other systems

SystemPortVersion
MidnightBSDdevel/libconfuse3.3
FreeBSDdevel/libconfuse3.3_2
OpenBSDdevel/libconfuse3.3p0
DragonFlydevel/libconfuse3.3_2
HardenedBSDdevel/libconfuse3.3_2
GhostBSDdevel/libconfuse3.3_2

Install

Binary package:

mport install libconfuse

From mports:

cd /usr/mports/devel/libconfuse && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libconfuse>0:devel/libconfuse
LIB_DEPENDS=	libconfuse.so:devel/libconfuse

Dependencies

Configuration

Options name: devel_libconfuse

OptionDefaultDescription
NLSoff
USES
iconv libtool pathfix pkgconfig tar:xz cpe
Service scripts
none

Files

pkg-plist 13
  • include/confuse.h
  • lib/libconfuse.a
  • lib/libconfuse.so
  • lib/libconfuse.so.2
  • lib/libconfuse.so.2.1.0
  • libdata/pkgconfig/libconfuse.pc
  • share/doc/confuse/AUTHORS
  • share/doc/confuse/ChangeLog.md
  • share/doc/confuse/LICENSE
  • share/doc/confuse/README.md
  • share/locale/de/LC_MESSAGES/confuse.mo
  • share/locale/fr/LC_MESSAGES/confuse.mo
  • share/locale/sv/LC_MESSAGES/confuse.mo
distinfo 1
FileSizeSHA256
confuse-3.3.tar.xz4851401dd50a0320e135a55025b23fcdbb3f0a81913b6d0b0a9df8cc2fdf3b3dc67010
Master sites 1
  • https://github.com/libconfuse/libconfuse/releases/download/v3.3/