From 56116bc1bd0bdc16e0d7150d074d38a1870df58d Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 27 Aug 2004 13:05:57 +0000 Subject: import libcfg+-0.6.2, a Command line and configuration file parsing library --- devel/cfg+/DESCR | 7 +++++ devel/cfg+/Makefile | 17 ++++++++++ devel/cfg+/PLIST | 82 ++++++++++++++++++++++++++++++++++++++++++++++++ devel/cfg+/buildlink3.mk | 28 +++++++++++++++++ devel/cfg+/distinfo | 4 +++ 5 files changed, 138 insertions(+) create mode 100644 devel/cfg+/DESCR create mode 100644 devel/cfg+/Makefile create mode 100644 devel/cfg+/PLIST create mode 100644 devel/cfg+/buildlink3.mk create mode 100644 devel/cfg+/distinfo (limited to 'devel') diff --git a/devel/cfg+/DESCR b/devel/cfg+/DESCR new file mode 100644 index 00000000000..cd1e7e906ff --- /dev/null +++ b/devel/cfg+/DESCR @@ -0,0 +1,7 @@ +libcfg+ is a C library that features multi- command line and +configuration file parsing. It is possible to set up various special +properties such as quoting characters, deliminator strings, file comment +prefixes, multi-line postfixes, and more. It supports many data types +such as booleans, integers, decimal numbers, strings with many +additional data type flags (such as multiple values for a single +option). diff --git a/devel/cfg+/Makefile b/devel/cfg+/Makefile new file mode 100644 index 00000000000..b2ba52480c0 --- /dev/null +++ b/devel/cfg+/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/08/27 13:05:57 drochner Exp $ +# + +DISTNAME= libcfg+-0.6.2 +CATEGORIES= devel +MASTER_SITES= http://platon.sk/upload/_projects/00003/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://platon.sk/projects/libcfg+/ +COMMENT= Command line and configuration file parsing library + +USE_BUILDLINK3= yes +GNU_CONFIGURE= yes +USE_GNU_TOOLS+= make +MANCOMPRESSED= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/cfg+/PLIST b/devel/cfg+/PLIST new file mode 100644 index 00000000000..5de06f8dc37 --- /dev/null +++ b/devel/cfg+/PLIST @@ -0,0 +1,82 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/27 13:05:58 drochner Exp $ +include/cfg+.h +include/cfg.h +include/platon/cfg+.h +include/platon/cfg.h +lib/libcfg+.a +lib/libcfg+.so +lib/libcfg+.so.${PKGVERSION} +man/man3/cfg+.h.3 +man/man3/cfg_add_property.3 +man/man3/cfg_clear_context_flag.3 +man/man3/cfg_clear_property.3 +man/man3/cfg_context.3 +man/man3/cfg_fprint_error.3 +man/man3/cfg_free_context.3 +man/man3/cfg_get_cfgfile_context.3 +man/man3/cfg_get_cmdline_context.3 +man/man3/cfg_get_context.3 +man/man3/cfg_get_context_flag.3 +man/man3/cfg_get_context_flags.3 +man/man3/cfg_get_cur_arg.3 +man/man3/cfg_get_cur_idx.3 +man/man3/cfg_get_cur_opt.3 +man/man3/cfg_get_error_str.3 +man/man3/cfg_get_next_opt.3 +man/man3/cfg_option.3 +man/man3/cfg_parse.3 +man/man3/cfg_print_error.3 +man/man3/cfg_remove_property.3 +man/man3/cfg_reset_context.3 +man/man3/cfg_set_cfgfile_context.3 +man/man3/cfg_set_cmdline_context.3 +man/man3/cfg_set_context_flag.3 +man/man3/cfg_set_context_flags.3 +man/man3/libcfg+.3 +share/doc/libcfg+-${PKGVERSION}/doxygen/annotated.html +share/doc/libcfg+-${PKGVERSION}/doxygen/cfg+_8h-source.html +share/doc/libcfg+-${PKGVERSION}/doxygen/cfg+_8h.html +share/doc/libcfg+-${PKGVERSION}/doxygen/cfgfile_8h-source.html +share/doc/libcfg+-${PKGVERSION}/doxygen/cfgfile_8h.html +share/doc/libcfg+-${PKGVERSION}/doxygen/cmdline_8h-source.html +share/doc/libcfg+-${PKGVERSION}/doxygen/cmdline_8h.html +share/doc/libcfg+-${PKGVERSION}/doxygen/doxygen.css +share/doc/libcfg+-${PKGVERSION}/doxygen/doxygen.png +share/doc/libcfg+-${PKGVERSION}/doxygen/files.html +share/doc/libcfg+-${PKGVERSION}/doxygen/functions.html +share/doc/libcfg+-${PKGVERSION}/doxygen/functions_vars.html +share/doc/libcfg+-${PKGVERSION}/doxygen/globals.html +share/doc/libcfg+-${PKGVERSION}/doxygen/globals_defs.html +share/doc/libcfg+-${PKGVERSION}/doxygen/globals_enum.html +share/doc/libcfg+-${PKGVERSION}/doxygen/globals_eval.html +share/doc/libcfg+-${PKGVERSION}/doxygen/globals_func.html +share/doc/libcfg+-${PKGVERSION}/doxygen/globals_type.html +share/doc/libcfg+-${PKGVERSION}/doxygen/index.html +share/doc/libcfg+-${PKGVERSION}/doxygen/pages.html +share/doc/libcfg+-${PKGVERSION}/doxygen/shared_8h-source.html +share/doc/libcfg+-${PKGVERSION}/doxygen/shared_8h.html +share/doc/libcfg+-${PKGVERSION}/doxygen/structcfg__context.html +share/doc/libcfg+-${PKGVERSION}/doxygen/structcfg__option.html +share/doc/libcfg+-${PKGVERSION}/doxygen/todo.html +share/doc/libcfg+-${PKGVERSION}/examples/example.c +share/doc/libcfg+-${PKGVERSION}/examples/example.cfg +share/doc/libcfg+-${PKGVERSION}/html/changelog.html +share/doc/libcfg+-${PKGVERSION}/html/index.html +share/doc/libcfg+-${PKGVERSION}/html/introduction.html +share/doc/libcfg+-${PKGVERSION}/html/introduction.installation.html +share/doc/libcfg+-${PKGVERSION}/html/other-information.cvs-access.html +share/doc/libcfg+-${PKGVERSION}/html/other-information.html +share/doc/libcfg+-${PKGVERSION}/html/other-information.license.html +share/doc/libcfg+-${PKGVERSION}/html/other-information.support-and-feedback.html +share/doc/libcfg+-${PKGVERSION}/html/preface.html +share/doc/libcfg+-${PKGVERSION}/html/usage.context-flags.html +share/doc/libcfg+-${PKGVERSION}/html/usage.context-manipulation.html +share/doc/libcfg+-${PKGVERSION}/html/usage.error-codes.html +share/doc/libcfg+-${PKGVERSION}/html/usage.html +share/doc/libcfg+-${PKGVERSION}/html/usage.parsing.html +share/doc/libcfg+-${PKGVERSION}/html/usage.properties.html +@dirrm share/doc/libcfg+-${PKGVERSION}/html +@dirrm share/doc/libcfg+-${PKGVERSION}/examples +@dirrm share/doc/libcfg+-${PKGVERSION}/doxygen +@dirrm share/doc/libcfg+-${PKGVERSION} +@dirrm include/platon diff --git a/devel/cfg+/buildlink3.mk b/devel/cfg+/buildlink3.mk new file mode 100644 index 00000000000..bb8963747a4 --- /dev/null +++ b/devel/cfg+/buildlink3.mk @@ -0,0 +1,28 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/08/27 13:05:58 drochner Exp $ +# XXX +# XXX This file was created automatically using createbuildlink-3.5. +# XXX After this file has been verified as correct, the comment lines +# XXX beginning with "XXX" should be removed. Please do not commit +# XXX unverified buildlink3.mk files. +# XXX +# XXX Packages that only install static libraries or headers should +# XXX include the following line: +# XXX +# XXX BUILDLINK_DEPMETHOD.libcfg?= build + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBCFG_BUILDLINK3_MK:= ${LIBCFG_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libcfg +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcfg} +BUILDLINK_PACKAGES+= libcfg + +.if !empty(LIBCFG_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libcfg+= libcfg+>=0.6.2 +BUILDLINK_PKGSRCDIR.libcfg?= ../../devel/cfg+ +.endif # LIBCFG_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/cfg+/distinfo b/devel/cfg+/distinfo new file mode 100644 index 00000000000..5e53c976e28 --- /dev/null +++ b/devel/cfg+/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/08/27 13:05:58 drochner Exp $ + +SHA1 (libcfg+-0.6.2.tar.gz) = 856d647bb06e37d3c6e48d356a3e11796ebed35b +Size (libcfg+-0.6.2.tar.gz) = 169482 bytes -- cgit v1.2.3