diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-11-01 10:10:32 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-11-01 10:10:32 +0000 |
commit | d290dd613cdd0ec993f267bf2e4b3d4b99786cf0 (patch) | |
tree | 6d555225de95622cb1ded9ae464807e6a1884b14 | |
parent | - Update to version 3.99.2.2 (diff) |
Add GNU recutils, a set of tools and libraries to access human-editable,
text-based databases called recfiles.
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=306789
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/recutils/Makefile | 33 | ||||
-rw-r--r-- | databases/recutils/distinfo | 2 | ||||
-rw-r--r-- | databases/recutils/pkg-descr | 17 | ||||
-rw-r--r-- | databases/recutils/pkg-plist | 23 |
5 files changed, 76 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 96f639f0c68f..18e7b99898eb 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -758,6 +758,7 @@ SUBDIR += qt4-sqlite3-plugin SUBDIR += rdb SUBDIR += rdfdb + SUBDIR += recutils SUBDIR += redis SUBDIR += redis-devel SUBDIR += rrdman diff --git a/databases/recutils/Makefile b/databases/recutils/Makefile new file mode 100644 index 000000000000..e3418f580a3e --- /dev/null +++ b/databases/recutils/Makefile @@ -0,0 +1,33 @@ +# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= recutils +PORTVERSION= 1.5 +CATEGORIES= databases +MASTER_SITES= GNU + +MAINTAINER= zeus@ibs.dn.ua +COMMENT= Tools and libraries to access human-editable, plain text databases + +LICENSE= GPLv3 + +OPTIONS_DEFINE= NLS + +GNU_CONFIGURE= yes +USE_LDCONFIG= yes + +INFO= ${PORTNAME} +MAN1= csv2rec.1 rec2csv.1 recdel.1 recfix.1 recfmt.1 recinf.1 \ + recins.1 recsel.1 recset.1 + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +.include <bsd.port.mk> diff --git a/databases/recutils/distinfo b/databases/recutils/distinfo new file mode 100644 index 000000000000..634a6a8a858c --- /dev/null +++ b/databases/recutils/distinfo @@ -0,0 +1,2 @@ +SHA256 (recutils-1.5.tar.gz) = 7ed67e74468084f52ad9341e4b11c44e5fd9d5325b93b7eb2cb230c839ff5dec +SIZE (recutils-1.5.tar.gz) = 1811121 diff --git a/databases/recutils/pkg-descr b/databases/recutils/pkg-descr new file mode 100644 index 000000000000..8734018c2a33 --- /dev/null +++ b/databases/recutils/pkg-descr @@ -0,0 +1,17 @@ +GNU Recutils is a set of tools and libraries to access human-editable, +text-based databases called recfiles. The data is stored as a sequence of +records, each record containing an arbitrary number of named fields. + +Advanced capabilities usually found in other data storage systems are +supported: data types, data integrity (keys, mandatory fields, etc) as well +as the ability of records to refer to other records (sort of foreign keys). +Despite its simplicity, recfiles can be used to store medium-sized +databases. + +Recfiles are human-readable, human-writable and still they are easy to parse +and to manipulate automatically. Obviously they are not suitable for many +tasks (for example, it can be difficult to manage hierarchies in recfiles) +and performance is somewhat sacrificed in favor of readability, but they are +quite handy to store small to medium simple databases. + +WWW: http://www.gnu.org/software/recutils/ diff --git a/databases/recutils/pkg-plist b/databases/recutils/pkg-plist new file mode 100644 index 000000000000..0ea11743b6d9 --- /dev/null +++ b/databases/recutils/pkg-plist @@ -0,0 +1,23 @@ +bin/csv2rec +bin/rec2csv +bin/recdel +bin/recfix +bin/recfmt +bin/recinf +bin/recins +bin/recsel +bin/recset +include/rec.h +lib/librec.a +lib/librec.la +lib/librec.so +lib/librec.so.0 +share/emacs/site-lisp/ob-rec.el +share/emacs/site-lisp/rec-mode.el +%%NLS%%share/locale/de/LC_MESSAGES/recutils.mo +%%NLS%%share/locale/fi/LC_MESSAGES/recutils.mo +%%NLS%%share/locale/nl/LC_MESSAGES/recutils.mo +%%NLS%%share/locale/sv/LC_MESSAGES/recutils.mo +share/recutils/etc/FSD.rec +@dirrm share/recutils/etc +@dirrm share/recutils |