[Midnightbsd-cvs] mports: mports/devel: Initial import of libconfuse.

archite at midnightbsd.org archite at midnightbsd.org
Sun Jun 1 17:45:51 EDT 2008


Log Message:
-----------
Initial import of libconfuse.

libConfuse is a configuration file parser library.

Modified Files:
--------------
    mports/devel:
        Makefile (r1.220 -> r1.221)

Added Files:
-----------
    mports/devel/libconfuse:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.220
retrieving revision 1.221
diff -L devel/Makefile -L devel/Makefile -u -r1.220 -r1.221
--- devel/Makefile
+++ devel/Makefile
@@ -90,6 +90,7 @@
     SUBDIR += libIDL
     SUBDIR += libbonobo
     SUBDIR += libcheck
+    SUBDIR += libconfuse
     SUBDIR += libdaemon
     SUBDIR += libevent
     SUBDIR += libexecinfo
--- /dev/null
+++ devel/libconfuse/pkg-descr
@@ -0,0 +1,14 @@
+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. 
+
+Project homepage:
+WWW: http://savannah.nongnu.org/projects/confuse/
--- /dev/null
+++ devel/libconfuse/pkg-plist
@@ -0,0 +1,6 @@
+include/confuse.h
+lib/libconfuse.a
+lib/libconfuse.la
+lib/libconfuse.so
+lib/libconfuse.so.0
+libdata/pkgconfig/libconfuse.pc
--- /dev/null
+++ devel/libconfuse/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for:	libconfuse
+# Date created:				18 September 2004
+# Whom:					Juraj Lutter <otis at sk.freebsd.org>
+#
+# $MidnightBSD: mports/devel/libconfuse/Makefile,v 1.1 2008/06/01 21:45:49 archite Exp $
+# $FreeBSD: ports/devel/libconfuse/Makefile,v 1.7 2008/04/25 12:50:35 garga Exp $
+#
+
+PORTNAME=	libconfuse
+PORTVERSION=	2.6
+CATEGORIES=	devel
+MASTER_SITES=	http://bzero.se/confuse/
+MASTER_SITE_SUBDIR=	confuse
+DISTNAME=	confuse-${PORTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Configuration file parsing library
+
+.if defined(WITH_CHECK)
+LIB_DEPENDS+=	${LOCALBASE}/lib/libcheck.a:${PORTSDIR}/devel/libcheck
+.endif
+
+USE_ICONV=	yes
+USE_AUTOTOOLS=	libtool:15
+USE_LDCONFIG=	yes
+USE_GNOME=	gnomehack pkgconfig
+CONFIGURE_ARGS+=	--disable-nls
+CFLAGS+=	-I${WRKSRC}/src
+.if defined(WITH_CHECK)
+CONFIGURE_ARGS+=	--with-check=${LOCALBASE}
+CFLAGS+=	-I${LOCALBASE}/include
+.endif
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/libconfuse/distinfo
@@ -0,0 +1,3 @@
+MD5 (confuse-2.6.tar.gz) = 0e883d66f0f58fc33585b430c652aa30
+SHA256 (confuse-2.6.tar.gz) = e8d653159b152f3850a7224b3eb604955795dbd3fd6603816ee46411ea53e84a
+SIZE (confuse-2.6.tar.gz) = 504017


More information about the Midnightbsd-cvs mailing list