# $Id$

PortSystem 1.0

name			libconfig
conflicts		libconfig-hr
version			0.2.6
categories		devel
platforms		darwin
maintainers		nomaintainer
license			MIT

description		configuration file processing library
long_description	Libconfig is a configuration file processing library that \
			saves you from having to write your own configuration parsers and \
			routines. It supports callback functions, automatic variable \
			assignment, and many different configuration file types such as \
			Apache-like, Windows INI-like, and whitespace separated. \
			Configuration is processed in a logical manner: global \
			configuration files, local configuration files, environment \
			variables, and finally command line options.

homepage		http://www.rkeene.org/oss/libconfig/
master_sites	http://www.rkeene.org/files/oss/libconfig/devel/

checksums               rmd160  88bbd0c5c43d314996c844df9875117b6b84575a \
                        sha256  7413f6a377c899c2c598aa60d8e2c798aa032d21000c81fb8b4e1602649534b2

patchfiles		patch-Makefile.in.diff

depends_lib             port:libopennet

configure.args	--mandir=\\\${prefix}/share/man

# error: unknown type name 'lc_err_t'
use_parallel_build      no

destroot.destdir	prefix=${destroot}${prefix}

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"