Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2001 23:20:49 -0500
From:      bill@twwells.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24064: new port: perl5 interface to Berkeley DB v3
Message-ID:  <E14E1tR-000I3R-00@twwells.com>
Resent-Message-ID: <200101040430.f044U1525365@freefall.freebsd.org>

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

>Number:         24064
>Category:       ports
>Synopsis:       new port: perl5 interface to Berkeley DB v3
>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 Jan 03 20:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     T. William Wells
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
>Environment:
>Description:

        Your basic port from the CPAN archive; perl5 access to Berkeley DB v3.

>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-BerkeleyDB
#	p5-BerkeleyDB/Makefile
#	p5-BerkeleyDB/distinfo
#	p5-BerkeleyDB/files
#	p5-BerkeleyDB/files/patch-aa
#	p5-BerkeleyDB/pkg-comment
#	p5-BerkeleyDB/pkg-descr
#	p5-BerkeleyDB/pkg-plist
#
echo c - p5-BerkeleyDB
mkdir -p p5-BerkeleyDB > /dev/null 2>&1
echo x - p5-BerkeleyDB/Makefile
sed 's/^X//' >p5-BerkeleyDB/Makefile << 'END-of-p5-BerkeleyDB/Makefile'
X# ports collection makefile for:        perl interface to Berkeley DB v3
X# Date created:                         3 January 2001
X# Whom:                                 T. William Wells <bill@twwells.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=       BerkeleyDB
XPORTVERSION=    0.12
XCATEGORIES=     databases perl5
XMASTER_SITES=   $(MASTER_SITE_PERL_CPAN)
XMASTER_SITE_SUBDIR= BerkeleyDB
XPKGNAMEPREFIX=  p5-
X
XMAINTAINER=     bill@twwells.com
X
XLIB_DEPENDS=    db3.1:${PORTSDIR}/databases/db3
X
XUSE_PERL5=      yes
X
Xpost-patch:
X	${PERL} -pi -e 's|PREFIX|$(PREFIX)|g' ${WRKSRC}/config.in
X
Xdo-configure:
X	cd $(WRKSRC); perl Makefile.PL
X
Xpost-build:
X	cd $(WRKSRC); make test
X
X.include <bsd.port.mk>
END-of-p5-BerkeleyDB/Makefile
echo x - p5-BerkeleyDB/distinfo
sed 's/^X//' >p5-BerkeleyDB/distinfo << 'END-of-p5-BerkeleyDB/distinfo'
XMD5 (BerkeleyDB-0.12.tar.gz) = 0c1ff9467cc69aa4f0a30aaed7ab50ff
END-of-p5-BerkeleyDB/distinfo
echo c - p5-BerkeleyDB/files
mkdir -p p5-BerkeleyDB/files > /dev/null 2>&1
echo x - p5-BerkeleyDB/files/patch-aa
sed 's/^X//' >p5-BerkeleyDB/files/patch-aa << 'END-of-p5-BerkeleyDB/files/patch-aa'
X--- config.in.orig	Mon Jun  5 11:21:14 2000
X+++ config.in	Wed Jan  3 13:53:57 2001
X@@ -10,7 +10,7 @@
X #INCLUDE	= /usr/local/include
X #INCLUDE	= /usr/local/BerkeleyDB/include
X #INCLUDE	= ./libraries/3.0.55
X-INCLUDE	= ./libraries/3.1.12
X+INCLUDE	= PREFIX/include/db3
X 
X # 2. Where is libdb?
X #
X@@ -20,7 +20,7 @@
X #LIB	= /usr/local/lib
X #LIB	= /usr/local/BerkeleyDB/lib
X #LIB	= ./libraries/3.0.55
X-LIB	= ./libraries/3.1.12
X+LIB	= PREFIX/lib
X 
X # 3. Is the library called libdb?
X #
END-of-p5-BerkeleyDB/files/patch-aa
echo x - p5-BerkeleyDB/pkg-comment
sed 's/^X//' >p5-BerkeleyDB/pkg-comment << 'END-of-p5-BerkeleyDB/pkg-comment'
XPerl5 interface to the Berkeley DB package revision 3
END-of-p5-BerkeleyDB/pkg-comment
echo x - p5-BerkeleyDB/pkg-descr
sed 's/^X//' >p5-BerkeleyDB/pkg-descr << 'END-of-p5-BerkeleyDB/pkg-descr'
XThis is the perl5 interface to Berkeley DB version 3, which it
Xdepends on.
X
XYou may want to use this, instead of the default dbm that perl
Xprovides, as that one is based on version 1, which is seriously
Xbuggy. E.g., if keys or data are over a hundred bytes or so, bad
Xthings may happen to your dbm files. Never mind all the extra
Xfeatures....
X
XWWW: http://www.sleepycat.com/
X
XBill Wells
Xbill@twwells.com
END-of-p5-BerkeleyDB/pkg-descr
echo x - p5-BerkeleyDB/pkg-plist
sed 's/^X//' >p5-BerkeleyDB/pkg-plist << 'END-of-p5-BerkeleyDB/pkg-plist'
Xlib/perl5/site_perl/5.005/i386-freebsd/BerkeleyDB.pm
Xlib/perl5/site_perl/5.005/i386-freebsd/BerkeleyDB.pod
Xlib/perl5/site_perl/5.005/i386-freebsd/BerkeleyDB/Btree.pm
Xlib/perl5/site_perl/5.005/i386-freebsd/BerkeleyDB/Hash.pm
Xlib/perl5/site_perl/5.005/i386-freebsd/auto/BerkeleyDB/.packlist
Xlib/perl5/site_perl/5.005/i386-freebsd/auto/BerkeleyDB/BerkeleyDB.bs
Xlib/perl5/site_perl/5.005/i386-freebsd/auto/BerkeleyDB/BerkeleyDB.so
Xlib/perl5/site_perl/5.005/i386-freebsd/auto/BerkeleyDB/autosplit.ix
X@dirrm lib/perl5/site_perl/5.005/i386-freebsd/BerkeleyDB
X@dirrm lib/perl5/site_perl/5.005/i386-freebsd/auto/BerkeleyDB
END-of-p5-BerkeleyDB/pkg-plist
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?E14E1tR-000I3R-00>