aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-DB_File-Lock
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2002-08-16 10:05:51 +0800
committernork <nork@FreeBSD.org>2002-08-16 10:05:51 +0800
commitb5e5cd2da253346cf51a3e8c153e32409a017a68 (patch)
tree72351e14b3f94dddfa9076e9264bc0d17b8d53e7 /devel/p5-DB_File-Lock
parent35891afdd738a5b3011e6a2faec17c00c0bf8331 (diff)
downloadfreebsd-ports-gnome-b5e5cd2da253346cf51a3e8c153e32409a017a68.tar.gz
freebsd-ports-gnome-b5e5cd2da253346cf51a3e8c153e32409a017a68.tar.zst
freebsd-ports-gnome-b5e5cd2da253346cf51a3e8c153e32409a017a68.zip
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)
Diffstat (limited to 'devel/p5-DB_File-Lock')
-rw-r--r--devel/p5-DB_File-Lock/Makefile23
-rw-r--r--devel/p5-DB_File-Lock/distinfo1
-rw-r--r--devel/p5-DB_File-Lock/pkg-comment1
-rw-r--r--devel/p5-DB_File-Lock/pkg-descr5
-rw-r--r--devel/p5-DB_File-Lock/pkg-plist5
5 files changed, 35 insertions, 0 deletions
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