From cc7883a640c0d1d91f381719bb3344abaf335d93 Mon Sep 17 00:00:00 2001 From: Josef Karthauser Date: Sat, 28 Apr 2001 14:55:30 +0000 Subject: [PATCH] Usually when you have to store persistent data you don't need a full-blown database server, just a ASCII database would do the trick. AsciiDB::Tag allows you to access a simple ASCII database using a perl hash variable. The database format is straightforward so you can edit it by hand if you need so. Each record is stored into a file, and a record is just a set of values tagged by the field name. PR: ports/26857 --- databases/Makefile | 1 + databases/p5-AsciiDB-TagFile/Makefile | 22 ++++++++++++++++++++++ databases/p5-AsciiDB-TagFile/distinfo | 1 + databases/p5-AsciiDB-TagFile/pkg-comment | 1 + databases/p5-AsciiDB-TagFile/pkg-descr | 12 ++++++++++++ databases/p5-AsciiDB-TagFile/pkg-plist | 6 ++++++ 6 files changed, 43 insertions(+) create mode 100644 databases/p5-AsciiDB-TagFile/Makefile create mode 100644 databases/p5-AsciiDB-TagFile/distinfo create mode 100644 databases/p5-AsciiDB-TagFile/pkg-comment create mode 100644 databases/p5-AsciiDB-TagFile/pkg-descr create mode 100644 databases/p5-AsciiDB-TagFile/pkg-plist diff --git a/databases/Makefile b/databases/Makefile index 05152972e612..7e7db27214a1 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -35,6 +35,7 @@ SUBDIR += mytop SUBDIR += p5-ApacheDBILogConfig SUBDIR += p5-ApacheDBILogger + SUBDIR += p5-AsciiDB-TagFile-1.06 SUBDIR += p5-BerkeleyDB SUBDIR += p5-DBD-CSV SUBDIR += p5-DBD-Pg diff --git a/databases/p5-AsciiDB-TagFile/Makefile b/databases/p5-AsciiDB-TagFile/Makefile new file mode 100644 index 000000000000..b143314ece4b --- /dev/null +++ b/databases/p5-AsciiDB-TagFile/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: databases/p5-AsciiDB-TagFile +# Date created: 25 April 2001 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= AsciiDB-TagFile +PORTVERSION= 1.06 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= AsciiDB +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@tobez.org + +PERL_CONFIGURE= yes + +MAN3= AsciiDB::TagFile.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include diff --git a/databases/p5-AsciiDB-TagFile/distinfo b/databases/p5-AsciiDB-TagFile/distinfo new file mode 100644 index 000000000000..11c40fd1fead --- /dev/null +++ b/databases/p5-AsciiDB-TagFile/distinfo @@ -0,0 +1 @@ +MD5 (AsciiDB-TagFile-1.06.tar.gz) = ba1ef6144e2ca462c46a6b4f83df9e7a diff --git a/databases/p5-AsciiDB-TagFile/pkg-comment b/databases/p5-AsciiDB-TagFile/pkg-comment new file mode 100644 index 000000000000..5b9c11df7c1a --- /dev/null +++ b/databases/p5-AsciiDB-TagFile/pkg-comment @@ -0,0 +1 @@ +Perl tie class for a simple ASCII database diff --git a/databases/p5-AsciiDB-TagFile/pkg-descr b/databases/p5-AsciiDB-TagFile/pkg-descr new file mode 100644 index 000000000000..5b322e719fd3 --- /dev/null +++ b/databases/p5-AsciiDB-TagFile/pkg-descr @@ -0,0 +1,12 @@ +Usually when you have to store persistent data you don't need a +full-blown database server, just a ASCII database would do the +trick. + +AsciiDB::Tag allows you to access a simple ASCII database using a +perl hash variable. The database format is straightforward so you +can edit it by hand if you need so. Each record is stored into a +file, and a record is just a set of values tagged by the field +name. + +-Anton + diff --git a/databases/p5-AsciiDB-TagFile/pkg-plist b/databases/p5-AsciiDB-TagFile/pkg-plist new file mode 100644 index 000000000000..09cb231d1ae4 --- /dev/null +++ b/databases/p5-AsciiDB-TagFile/pkg-plist @@ -0,0 +1,6 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AsciiDB/TagFile/.packlist +lib/perl5/site_perl/%%PERL_VER%%/AsciiDB/TagFile.pm +lib/perl5/site_perl/%%PERL_VER%%/AsciiDB/TagRecord.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AsciiDB/TagFile +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AsciiDB 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/AsciiDB 2>/dev/null || true