summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2001-04-28 14:55:30 +0000
committerJosef Karthauser <joe@FreeBSD.org>2001-04-28 14:55:30 +0000
commitcc7883a640c0d1d91f381719bb3344abaf335d93 (patch)
treeba779720f78687798deed1e96e10e12ea2595177
parentCompare two perl data structures recursively. Returns 0 if the (diff)
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
Notes
Notes: svn path=/head/; revision=42003
-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