summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2013-12-03 01:27:43 +0000
committermef <mef@pkgsrc.org>2013-12-03 01:27:43 +0000
commit6927955262a5e35fa3cd178d512c445673486d25 (patch)
tree21d25edb73ab74e30ec8507de6379f2e3b3110f1
parentb0e86f0ccc91a067c981acb30fb345b7f6b8a601 (diff)
downloadpkgsrc-6927955262a5e35fa3cd178d512c445673486d25.tar.gz
Import libconfuse-2.7 as devel/libconfuse.
This is libConfuse, a library for parsing configuration files. It was called libcfg before, but was changed to not confuse with other similar libraries. See the INSTALL file for installation instructions. By default, only a static library is built. Specify --enable-shared to the configure script to also build a shared library. With libtool 1.4.2 (and/or automake 1.6.3) there is a problem building the sources. The libtool script expects the environment variable SED to point to a usable sed binary, but this variable does not get set. You'll have to do a "export SED=sed" (if using bash) or "setenv SED sed" (if using csh) before running make. Documentation can be built by running doxygen in the top-level directory. It is also available at http://www.nongnu.org/confuse/manual/. There is a project page at http://sv.nongnu.org/projects/confuse. Report bugs to <confuse-devel@nongnu.org>
-rw-r--r--devel/libconfuse/DESCR19
-rw-r--r--devel/libconfuse/Makefile21
-rw-r--r--devel/libconfuse/PLIST4
-rw-r--r--devel/libconfuse/buildlink3.mk13
-rw-r--r--devel/libconfuse/distinfo5
5 files changed, 62 insertions, 0 deletions
diff --git a/devel/libconfuse/DESCR b/devel/libconfuse/DESCR
new file mode 100644
index 00000000000..209d7f3f059
--- /dev/null
+++ b/devel/libconfuse/DESCR
@@ -0,0 +1,19 @@
+This is libConfuse, a library for parsing configuration files. It was
+called libcfg before, but was changed to not confuse with other
+similar libraries.
+
+See the INSTALL file for installation instructions. By default, only a
+static library is built. Specify --enable-shared to the configure
+script to also build a shared library.
+
+With libtool 1.4.2 (and/or automake 1.6.3) there is a problem building
+the sources. The libtool script expects the environment variable SED
+to point to a usable sed binary, but this variable does not get
+set. You'll have to do a "export SED=sed" (if using bash) or "setenv
+SED sed" (if using csh) before running make.
+
+Documentation can be built by running doxygen in the top-level
+directory. It is also available at http://www.nongnu.org/confuse/manual/.
+
+There is a project page at http://sv.nongnu.org/projects/confuse.
+Report bugs to <confuse-devel@nongnu.org>
diff --git a/devel/libconfuse/Makefile b/devel/libconfuse/Makefile
new file mode 100644
index 00000000000..de995a57368
--- /dev/null
+++ b/devel/libconfuse/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2013/12/03 01:27:43 mef Exp $
+
+DISTNAME= confuse-2.7
+PKGNAME= ${DISTNAME:C/^/lib/}
+
+CATEGORIES= devel
+MASTER_SITES= http://savannah.nongnu.org/download/confuse/
+LICENSE= isc
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.nongnu.org/confuse/
+COMMENT= Configuration file parser library
+
+# Following args mentioned in DESCR (and configure) but no effect for the moment
+CONFIGURE_ARGS+= --enable-shared
+
+USE_LIBTOOL= yes
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libconfuse/PLIST b/devel/libconfuse/PLIST
new file mode 100644
index 00000000000..87d9670ef11
--- /dev/null
+++ b/devel/libconfuse/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2013/12/03 01:27:43 mef Exp $
+include/confuse.h
+lib/libconfuse.la
+lib/pkgconfig/libconfuse.pc
diff --git a/devel/libconfuse/buildlink3.mk b/devel/libconfuse/buildlink3.mk
new file mode 100644
index 00000000000..9ebbaa60030
--- /dev/null
+++ b/devel/libconfuse/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/12/03 01:27:43 mef Exp $
+
+BUILDLINK_TREE+= libconfuse
+
+.if !defined(LIBCONFUSE_BUILDLINK3_MK)
+LIBCONFUSE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libconfuse+= libconfuse>=2.7
+BUILDLINK_PKGSRCDIR.libconfuse?= ../../devel/libconfuse
+
+.endif # LIBCONFUSE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libconfuse
diff --git a/devel/libconfuse/distinfo b/devel/libconfuse/distinfo
new file mode 100644
index 00000000000..11a1e5ea71e
--- /dev/null
+++ b/devel/libconfuse/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/12/03 01:27:43 mef Exp $
+
+SHA1 (confuse-2.7.tar.gz) = b3f74f9763e6c9012476dbd323d083af4be34cad
+RMD160 (confuse-2.7.tar.gz) = adff129b2fd078b0e233386541dd83f7b0c567a4
+Size (confuse-2.7.tar.gz) = 517272 bytes