summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-09-16 04:50:59 +0000
committerwill <will@FreeBSD.org>2000-09-16 04:50:59 +0000
commit2e9758a035d53a4fee2820f27361675d8c32b6a7 (patch)
treedf8f189e9d12f6964d85c46437163c775852a56c /devel
parent34eb08988a0f611f8f7add457b4c9964a88b6b0e (diff)
downloadFreeBSD-ports-2e9758a035d53a4fee2820f27361675d8c32b6a7.zip
FreeBSD-ports-2e9758a035d53a4fee2820f27361675d8c32b6a7.tar.gz
Add p5-Tie-DB_FileLock 0.10, a perl module which extends DB_File, providing
a locking layer using flock(). PR: 20758 Submitted by: Josh Tiefenbach <josh@zipperup.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Tie-DB_FileLock/Makefile26
-rw-r--r--devel/p5-Tie-DB_FileLock/distinfo1
-rw-r--r--devel/p5-Tie-DB_FileLock/pkg-comment1
-rw-r--r--devel/p5-Tie-DB_FileLock/pkg-descr7
-rw-r--r--devel/p5-Tie-DB_FileLock/pkg-plist5
6 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index ff06ccc..ffe7752 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -232,6 +232,7 @@
SUBDIR += p5-Term-ANSIColor
SUBDIR += p5-Term-Query
SUBDIR += p5-Term-ReadKey
+ SUBDIR += p5-Tie-DB_FileLock
SUBDIR += p5-Time
SUBDIR += p5-Time-HiRes
SUBDIR += p5-TimeDate
diff --git a/devel/p5-Tie-DB_FileLock/Makefile b/devel/p5-Tie-DB_FileLock/Makefile
new file mode 100644
index 0000000..4e3b7eb
--- /dev/null
+++ b/devel/p5-Tie-DB_FileLock/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Tie-DB_FileLock
+# Date created: August 17 2000
+# Whom: Josh Tiefenbach <josh@zipperup.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Tie-DB_FileLock
+PORTVERSION= 0.10
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Tie
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= josh@zipperup.org
+
+USE_PERL5= yes
+
+MAN3= Tie::DB_FileLock.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Tie-DB_FileLock/distinfo b/devel/p5-Tie-DB_FileLock/distinfo
new file mode 100644
index 0000000..d582f768
--- /dev/null
+++ b/devel/p5-Tie-DB_FileLock/distinfo
@@ -0,0 +1 @@
+MD5 (Tie-DB_FileLock-0.10.tar.gz) = f9c8b18e8bf6327db655d4db6b08bf3e
diff --git a/devel/p5-Tie-DB_FileLock/pkg-comment b/devel/p5-Tie-DB_FileLock/pkg-comment
new file mode 100644
index 0000000..d771a4c
--- /dev/null
+++ b/devel/p5-Tie-DB_FileLock/pkg-comment
@@ -0,0 +1 @@
+Locking access to Berkeley DB v1.x
diff --git a/devel/p5-Tie-DB_FileLock/pkg-descr b/devel/p5-Tie-DB_FileLock/pkg-descr
new file mode 100644
index 0000000..e53e07a
--- /dev/null
+++ b/devel/p5-Tie-DB_FileLock/pkg-descr
@@ -0,0 +1,7 @@
+Tie::DB_FileLock extends DB_File, providing a locking layer using
+flock().
+
+Unlike Tie::DB_Lock, Tie::DB_FileLock does not duplicate files to
+allow concurrent access for readers and writers. Tie::DB_FileLock
+is therefore suitable for large dbms with relatively short locking
+periods.
diff --git a/devel/p5-Tie-DB_FileLock/pkg-plist b/devel/p5-Tie-DB_FileLock/pkg-plist
new file mode 100644
index 0000000..9c956c5
--- /dev/null
+++ b/devel/p5-Tie-DB_FileLock/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/Tie/DB_FileLock.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/DB_FileLock/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Tie
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/DB_FileLock
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie
OpenPOWER on IntegriCloud