Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 23:33:10 +0200 (CEST)
From:      tobez@tobez.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26857: New port: databases/p5-AsciiDB-TagFile (Perl tie class for a simple ASCII database)
Message-ID:  <20010425213310.5935D546B@heechee.tobez.org>

next in thread | raw e-mail | index | archive | help

>Number:         26857
>Category:       ports
>Synopsis:       New port: databases/p5-AsciiDB-TagFile (Perl tie class for a simple ASCII database)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 25 14:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anton Berezin
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
>Description:

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.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-AsciiDB-TagFile
#	p5-AsciiDB-TagFile/pkg-plist
#	p5-AsciiDB-TagFile/pkg-descr
#	p5-AsciiDB-TagFile/pkg-comment
#	p5-AsciiDB-TagFile/distinfo
#	p5-AsciiDB-TagFile/Makefile
#
echo c - p5-AsciiDB-TagFile
mkdir -p p5-AsciiDB-TagFile > /dev/null 2>&1
echo x - p5-AsciiDB-TagFile/pkg-plist
sed 's/^X//' >p5-AsciiDB-TagFile/pkg-plist << 'END-of-p5-AsciiDB-TagFile/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AsciiDB/TagFile/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/AsciiDB/TagFile.pm
Xlib/perl5/site_perl/%%PERL_VER%%/AsciiDB/TagRecord.pm
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AsciiDB/TagFile
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AsciiDB 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/AsciiDB 2>/dev/null || true
END-of-p5-AsciiDB-TagFile/pkg-plist
echo x - p5-AsciiDB-TagFile/pkg-descr
sed 's/^X//' >p5-AsciiDB-TagFile/pkg-descr << 'END-of-p5-AsciiDB-TagFile/pkg-descr'
XUsually when you have to store persistent data you don't need a
Xfull-blown database server, just a ASCII database would do the trick.
X
XAsciiDB::Tag allows you to access a simple ASCII database using a perl
Xhash variable. The database format is straightforward so you can edit it
Xby hand if you need so. Each record is stored into a file, and a record
Xis just a set of values tagged by the field name.
X
X-Anton
X<tobez@tobez.org>
END-of-p5-AsciiDB-TagFile/pkg-descr
echo x - p5-AsciiDB-TagFile/pkg-comment
sed 's/^X//' >p5-AsciiDB-TagFile/pkg-comment << 'END-of-p5-AsciiDB-TagFile/pkg-comment'
XPerl tie class for a simple ASCII database
END-of-p5-AsciiDB-TagFile/pkg-comment
echo x - p5-AsciiDB-TagFile/distinfo
sed 's/^X//' >p5-AsciiDB-TagFile/distinfo << 'END-of-p5-AsciiDB-TagFile/distinfo'
XMD5 (AsciiDB-TagFile-1.06.tar.gz) = ba1ef6144e2ca462c46a6b4f83df9e7a
END-of-p5-AsciiDB-TagFile/distinfo
echo x - p5-AsciiDB-TagFile/Makefile
sed 's/^X//' >p5-AsciiDB-TagFile/Makefile << 'END-of-p5-AsciiDB-TagFile/Makefile'
X# New ports collection makefile for:	databases/p5-AsciiDB-TagFile
X# Date created:				25 April 2001
X# Whom:					Anton Berezin <tobez@tobez.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	AsciiDB-TagFile
XPORTVERSION=	1.06
XCATEGORIES=	databases perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	AsciiDB
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	tobez@tobez.org
X
XPERL_CONFIGURE=	yes
X
XMAN3=		AsciiDB::TagFile.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-AsciiDB-TagFile/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010425213310.5935D546B>