add dotconf, A Configuration File Parser Library

This commit is contained in:
Ying-Chieh Liao 2001-01-28 08:50:53 +00:00
parent 8fdc4ba31e
commit fbf6b355a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37672
6 changed files with 92 additions and 0 deletions

View file

@ -72,6 +72,7 @@
SUBDIR += dmake
SUBDIR += dmalloc
SUBDIR += doc++
SUBDIR += dotconf
SUBDIR += doxygen
SUBDIR += dryad
SUBDIR += elftoaout

33
devel/dotconf/Makefile Normal file
View file

@ -0,0 +1,33 @@
# ex:ts=8
# New ports collection makefile for: dotconf
# Date created: Jan 28, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dotconf
PORTVERSION= 1.0.0p2
CATEGORIES= devel
MASTER_SITES= http://www.azzit.de/dotconf/download/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pre/}
MAINTAINER= ijliao@FreeBSD.org
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/${PORTNAME}
.for f in dotconf-api.txt dotconf-features.txt
@${INSTALL_DATA} ${WRKSRC}/doc/$f ${PREFIX}/share/${PORTNAME}
.endfor
${CP} -R ${WRKSRC}/examples ${PREFIX}/share/${PORTNAME}
.endif
.include <bsd.port.mk>

1
devel/dotconf/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (dotconf-1.0.0pre2.tar.gz) = c51c375b5a1df399d15ffda8df841a81

View file

@ -0,0 +1 @@
A simple, powerful configuration-file parser

17
devel/dotconf/pkg-descr Normal file
View file

@ -0,0 +1,17 @@
dot.conf is a simple configuration-file parser library written in C.
The configuration files created for dot.conf look very similar to
those used by the Apache Webserver. Even Container-Directives known
from httpd.conf can easily be used in the exact same manner as for
Apache-Modules. It supports various types of arguments, dynamically
loadable modules that create their own configuration options
on-the-fly, a here-documents feature to pass very long ARG_STR data
to your app, ${NAME:-default} style environment variable
substitution for arguments, and on-the-fly inclusion of additional
config files. Some behaviour can be toggled with flags at runtime.
To keep dotconf from printing out warnings, you can install your
own customized errorhandler.
WWW: http://www.azzit.de/dotconf/
-- Ying-Chieh Liao
ijliao@FreeBSD.org

39
devel/dotconf/pkg-plist Normal file
View file

@ -0,0 +1,39 @@
bin/dotconf-config
include/dotconf.h
include/libpool.h
lib/libpool.a
lib/libdotconf.a
lib/libdotconf.la
lib/libdotconf.so
lib/libdotconf-1.0.so
lib/libdotconf-1.0.so.0
share/aclocal/dotconf.m4
%%PORTDOCS%%share/dotconf/dotconf-api.txt
%%PORTDOCS%%share/dotconf/dotconf-features.txt
%%PORTDOCS%%share/dotconf/examples/README
%%PORTDOCS%%share/dotconf/examples/caseinsensitive/Makefile
%%PORTDOCS%%share/dotconf/examples/caseinsensitive/caseinsensitive.c
%%PORTDOCS%%share/dotconf/examples/caseinsensitive/caseinsensitive.conf
%%PORTDOCS%%share/dotconf/examples/context/Makefile
%%PORTDOCS%%share/dotconf/examples/context/context.c
%%PORTDOCS%%share/dotconf/examples/context/context.conf
%%PORTDOCS%%share/dotconf/examples/errorhandler/Makefile
%%PORTDOCS%%share/dotconf/examples/errorhandler/errorhandler.c
%%PORTDOCS%%share/dotconf/examples/errorhandler/errorhandler.conf
%%PORTDOCS%%share/dotconf/examples/modules/Makefile
%%PORTDOCS%%share/dotconf/examples/modules/include.conf
%%PORTDOCS%%share/dotconf/examples/modules/module.c
%%PORTDOCS%%share/dotconf/examples/modules/my_module.c
%%PORTDOCS%%share/dotconf/examples/modules/sample.conf
%%PORTDOCS%%share/dotconf/examples/simple/Makefile
%%PORTDOCS%%share/dotconf/examples/simple/included.conf
%%PORTDOCS%%share/dotconf/examples/simple/linecat.conf
%%PORTDOCS%%share/dotconf/examples/simple/simple.c
%%PORTDOCS%%share/dotconf/examples/simple/simple.conf
%%PORTDOCS%%@dirrm share/dotconf/examples/caseinsensitive
%%PORTDOCS%%@dirrm share/dotconf/examples/context
%%PORTDOCS%%@dirrm share/dotconf/examples/errorhandler
%%PORTDOCS%%@dirrm share/dotconf/examples/modules
%%PORTDOCS%%@dirrm share/dotconf/examples/simple
%%PORTDOCS%%@dirrm share/dotconf/examples
%%PORTDOCS%%@dirrm share/dotconf