aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-04-28 22:55:30 +0800
committerjoe <joe@FreeBSD.org>2001-04-28 22:55:30 +0800
commit6a802ea149441771580d57a5cbce4a54abd68ec4 (patch)
treee63dfaa78cd67e24897249cc9824dc354790e879 /databases
parent47a4caa1e1944cba264bc6915cabfb7992b8fa04 (diff)
downloadfreebsd-ports-gnome-6a802ea149441771580d57a5cbce4a54abd68ec4.tar.gz
freebsd-ports-gnome-6a802ea149441771580d57a5cbce4a54abd68ec4.tar.zst
freebsd-ports-gnome-6a802ea149441771580d57a5cbce4a54abd68ec4.zip
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
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-AsciiDB-TagFile/Makefile22
-rw-r--r--databases/p5-AsciiDB-TagFile/distinfo1
-rw-r--r--databases/p5-AsciiDB-TagFile/pkg-comment1
-rw-r--r--databases/p5-AsciiDB-TagFile/pkg-descr12
-rw-r--r--databases/p5-AsciiDB-TagFile/pkg-plist6
6 files changed, 43 insertions, 0 deletions
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 <tobez@tobez.org>
+#
+# $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 <bsd.port.mk>
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
+<tobez@tobez.org>
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