diff options
-rw-r--r-- | devel/confuse/DESCR | 13 | ||||
-rw-r--r-- | devel/confuse/Makefile | 18 | ||||
-rw-r--r-- | devel/confuse/PLIST | 4 | ||||
-rw-r--r-- | devel/confuse/buildlink3.mk | 20 | ||||
-rw-r--r-- | devel/confuse/distinfo | 5 |
5 files changed, 60 insertions, 0 deletions
diff --git a/devel/confuse/DESCR b/devel/confuse/DESCR new file mode 100644 index 00000000000..5ecd54ae892 --- /dev/null +++ b/devel/confuse/DESCR @@ -0,0 +1,13 @@ +libConfuse is a configuration file parser library, licensed under the +terms of the LGPL, 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. diff --git a/devel/confuse/Makefile b/devel/confuse/Makefile new file mode 100644 index 00000000000..db68488ce6f --- /dev/null +++ b/devel/confuse/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/03/02 01:56:46 dmcmahill Exp $ +# + +DISTNAME= confuse-2.5 +CATEGORIES= devel +MASTER_SITES= http://savannah.nongnu.org/download/confuse/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.nongnu.org/confuse/ +COMMENT= Configuration file parser library + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +GNU_CONFIGURE= YES +CONFIGURE_ARGS+= --enable-shared +USE_LIBTOOL= YES + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/confuse/PLIST b/devel/confuse/PLIST new file mode 100644 index 00000000000..1746429926e --- /dev/null +++ b/devel/confuse/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/02 01:56:46 dmcmahill Exp $ +include/confuse.h +lib/libconfuse.la +lib/pkgconfig/libconfuse.pc diff --git a/devel/confuse/buildlink3.mk b/devel/confuse/buildlink3.mk new file mode 100644 index 00000000000..b7d07896d72 --- /dev/null +++ b/devel/confuse/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/03/02 01:56:46 dmcmahill Exp $ +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +CONFUSE_BUILDLINK3_MK:= ${CONFUSE_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= confuse +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nconfuse} +BUILDLINK_PACKAGES+= confuse +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}confuse + +.if ${CONFUSE_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.confuse+= confuse>=2.5 +BUILDLINK_PKGSRCDIR.confuse?= ../../devel/confuse.work +.endif # CONFUSE_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/confuse/distinfo b/devel/confuse/distinfo new file mode 100644 index 00000000000..0360bc25c99 --- /dev/null +++ b/devel/confuse/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/03/02 01:56:46 dmcmahill Exp $ + +SHA1 (confuse-2.5.tar.gz) = 0ba87baeb0f6540414b24c4b2d47ae375d0b870d +RMD160 (confuse-2.5.tar.gz) = 25314942e740bb4c7e90dc9860df4df73f8ffc07 +Size (confuse-2.5.tar.gz) = 502501 bytes |