diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2002-08-16 02:05:51 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2002-08-16 02:05:51 +0000 |
commit | 54b5ff2c6a75a05566dba4064383d8732dccd782 (patch) | |
tree | 45d3642433fadbb48868a0360409e2f3e002e216 /devel | |
parent | o Update to 1.4 Build 173 (diff) |
Add devel/p5-DB_File-Lock, a wrapper for the DB_File module, adding
locking, extremely lightweight.
This module provides the similar functionality to Tie::DB_LockFile,
but also supports DB_RECNO.
Reviewed by: knu (mentor)
Approved by: knu (mentor)
Notes
Notes:
svn path=/head/; revision=64561
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-DB_File-Lock/Makefile | 23 | ||||
-rw-r--r-- | devel/p5-DB_File-Lock/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-DB_File-Lock/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-DB_File-Lock/pkg-descr | 5 | ||||
-rw-r--r-- | devel/p5-DB_File-Lock/pkg-plist | 5 |
6 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 09a75a2c9870..6f09d038eca8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -414,6 +414,7 @@ SUBDIR += p5-ConfigReader SUBDIR += p5-Curses SUBDIR += p5-Curses-Widgets + SUBDIR += p5-DB_File-Lock SUBDIR += p5-Data-Compare SUBDIR += p5-Data-DumpXML SUBDIR += p5-Data-Flow diff --git a/devel/p5-DB_File-Lock/Makefile b/devel/p5-DB_File-Lock/Makefile new file mode 100644 index 000000000000..6dee99dfc20a --- /dev/null +++ b/devel/p5-DB_File-Lock/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: p5-DB_File-Lock +# Date created: 2002/08/15 +# Whom: nork@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= DB_File-Lock +PORTVERSION= 0.05 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= DB_File +PKGNAMEPREFIX= p5- + +MAINTAINER= nork@FreeBSD.org + +PERL_CONFIGURE= yes + +MAN3= DB_File::Lock.3 + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include <bsd.port.mk> diff --git a/devel/p5-DB_File-Lock/distinfo b/devel/p5-DB_File-Lock/distinfo new file mode 100644 index 000000000000..36a9f9cf2dfa --- /dev/null +++ b/devel/p5-DB_File-Lock/distinfo @@ -0,0 +1 @@ +MD5 (DB_File-Lock-0.05.tar.gz) = 8be62f30cd8b395b870b492c981d223b diff --git a/devel/p5-DB_File-Lock/pkg-comment b/devel/p5-DB_File-Lock/pkg-comment new file mode 100644 index 000000000000..f1bb85173203 --- /dev/null +++ b/devel/p5-DB_File-Lock/pkg-comment @@ -0,0 +1 @@ +Perl module to use the DB_File with Lock diff --git a/devel/p5-DB_File-Lock/pkg-descr b/devel/p5-DB_File-Lock/pkg-descr new file mode 100644 index 000000000000..ad02fa0fae14 --- /dev/null +++ b/devel/p5-DB_File-Lock/pkg-descr @@ -0,0 +1,5 @@ +This module provides a wrapper for the DB_File module, adding locking. + +When you need locking, simply use this module in place of DB_File and +add an extra argument onto the tie command specifying if the file should +be locked for reading or writing. diff --git a/devel/p5-DB_File-Lock/pkg-plist b/devel/p5-DB_File-Lock/pkg-plist new file mode 100644 index 000000000000..cd093f21fdbe --- /dev/null +++ b/devel/p5-DB_File-Lock/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/DB_File/Lock.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DB_File/Lock/.packlist +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DB_File/Lock 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DB_File 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DB_File 2>/dev/null || true |