Libconfig is a simple library for manipulating structured configuration
files. This file format is more compact and more readable than XML. And unlike XML, it is type-aware, so it is not necessary to do string parsing in application code. Libconfig is very compact - just 25K for the stripped C shared library (one-fifth the size of the expat XML parser library) and 39K for the stripped C++ shared library. This makes it well-suited for memory-constrained systems like handheld devices. From Will Maier (MAINTAINER) tweaks and ok sturm@ and kili@
This commit is contained in:
parent
90a9f57099
commit
74893583cf
27
devel/libconfig/Makefile
Normal file
27
devel/libconfig/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/09/21 20:19:05 merdely Exp $
|
||||
|
||||
COMMENT= library for manipulating structured configuration files
|
||||
|
||||
DISTNAME= libconfig-1.1.3
|
||||
|
||||
SHARED_LIBS= config 4.3 \
|
||||
config++ 4.3
|
||||
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.hyperrealm.com/libconfig/
|
||||
|
||||
MAINTAINER= Will Maier <willmaier@ml1.net>
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
.include <bsd.port.mk>
|
5
devel/libconfig/distinfo
Normal file
5
devel/libconfig/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (libconfig-1.1.3.tar.gz) = wM1LXtRLvB3KMur6rDd+Mw==
|
||||
RMD160 (libconfig-1.1.3.tar.gz) = UfPpD6cvrUK0y1kXJveUnwqMByo=
|
||||
SHA1 (libconfig-1.1.3.tar.gz) = 5/jKPtCi7EjvjooWRU5kDF4Dr4g=
|
||||
SHA256 (libconfig-1.1.3.tar.gz) = Pubf0O2tZ0SkyFhXii/Bp1jKCiw7P5N1lpXiNiSiwBg=
|
||||
SIZE (libconfig-1.1.3.tar.gz) = 494149
|
65
devel/libconfig/patches/patch-doc_libconfig_texi
Normal file
65
devel/libconfig/patches/patch-doc_libconfig_texi
Normal file
@ -0,0 +1,65 @@
|
||||
$OpenBSD: patch-doc_libconfig_texi,v 1.1.1.1 2007/09/21 20:19:05 merdely Exp $
|
||||
--- doc/libconfig.texi.orig Sun Jul 1 23:31:37 2007
|
||||
+++ doc/libconfig.texi Fri Sep 21 06:14:55 2007
|
||||
@@ -4,14 +4,22 @@
|
||||
|
||||
@c All text is ignored before the setfilename.
|
||||
@setfilename libconfig.info
|
||||
-@settitle libconfig @value{edition}
|
||||
+@settitle libconfig
|
||||
|
||||
-@set edition 1.1.2
|
||||
-@set update-month July 2007
|
||||
-@set update-date 1 @value{update-month}
|
||||
+@set edition 1.1.4
|
||||
+@set update-month September 2007
|
||||
+@set update-date 21 @value{update-month}
|
||||
+@set subtitle-text A Library For Manipulating Structured Configuration Files
|
||||
+@set author-text Mark A.@: Lindner
|
||||
|
||||
@comment %**end of header
|
||||
|
||||
+@dircategory Software libraries
|
||||
+@direntry
|
||||
+* libconfig: (libconfig). A Library For Manipulating Structured Configuration Files
|
||||
+@end direntry
|
||||
+
|
||||
+
|
||||
@tex
|
||||
\global\emergencystretch = .3\hsize
|
||||
@end tex
|
||||
@@ -21,11 +29,11 @@
|
||||
@titlepage
|
||||
|
||||
@title libconfig
|
||||
-@subtitle A Library For Manipulating Structured Configuration Files
|
||||
+@subtitle @value{subtitle-text}
|
||||
@subtitle Version @value{edition}
|
||||
@subtitle @value{update-date}
|
||||
|
||||
-@author Mark A.@: Lindner
|
||||
+@author @value{author-text}
|
||||
|
||||
@page
|
||||
@vskip 0pt plus 1filll
|
||||
@@ -41,6 +49,20 @@ resulting derived work is distributed under the terms
|
||||
notice identical to this one.
|
||||
|
||||
@end titlepage
|
||||
+
|
||||
+@c Give the HTML output a title page that somewhat resembles the printed one
|
||||
+@ifhtml
|
||||
+@html
|
||||
+<hr noshade size=6 color="black">
|
||||
+<div align=right>@value{subtitle-text}<br>
|
||||
+Version @value{edition}<br>
|
||||
+@value{update-date}</div>
|
||||
+<br><br><br><br>
|
||||
+<font size=+1>@value{author-text}</font>
|
||||
+<hr size=3 noshade color="black">
|
||||
+<br><br>
|
||||
+@end html
|
||||
+@end ifhtml
|
||||
|
||||
@contents
|
||||
|
9
devel/libconfig/pkg/DESCR
Normal file
9
devel/libconfig/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
Libconfig is a simple library for manipulating structured configuration
|
||||
files. This file format is more compact and more readable than XML. And
|
||||
unlike XML, it is type-aware, so it is not necessary to do string
|
||||
parsing in application code.
|
||||
|
||||
Libconfig is very compact - just 25K for the stripped C shared library
|
||||
(one-fifth the size of the expat XML parser library) and 39K for the
|
||||
stripped C++ shared library. This makes it well-suited for
|
||||
memory-constrained systems like handheld devices.
|
3
devel/libconfig/pkg/PFRAG.shared
Normal file
3
devel/libconfig/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/09/21 20:19:05 merdely Exp $
|
||||
@lib lib/libconfig++.so.${LIBconfig++_VERSION}
|
||||
@lib lib/libconfig.so.${LIBconfig_VERSION}
|
12
devel/libconfig/pkg/PLIST
Normal file
12
devel/libconfig/pkg/PLIST
Normal file
@ -0,0 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/21 20:19:05 merdely Exp $
|
||||
%%SHARED%%
|
||||
include/libconfig.h
|
||||
include/libconfig.h++
|
||||
@info info/libconfig.info
|
||||
lib/libconfig++.a
|
||||
lib/libconfig++.la
|
||||
lib/libconfig.a
|
||||
lib/libconfig.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/libconfig++.pc
|
||||
lib/pkgconfig/libconfig.pc
|
Loading…
Reference in New Issue
Block a user