aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-11-11 12:29:43 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-11-11 12:29:43 +0000
commit7aaa12ceef15514635bf69735a9206b37d866108 (patch)
treebf919f3ec1eaa2f7da53b78080f221bd0396d79f /devel
parent8d0ab6433c0c23ad8df6843925ad9cd7a3d4e5ce (diff)
downloadports-7aaa12ceef15514635bf69735a9206b37d866108.tar.gz
ports-7aaa12ceef15514635bf69735a9206b37d866108.zip
Add devel/p5-IO-LockedFile 0.23, a Perl module that supplies object
methods for locking files.
Notes
Notes: svn path=/head/; revision=147916
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-IO-LockedFile/Makefile23
-rw-r--r--devel/p5-IO-LockedFile/distinfo3
-rw-r--r--devel/p5-IO-LockedFile/pkg-descr6
-rw-r--r--devel/p5-IO-LockedFile/pkg-plist7
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bc3080a4910c..5960db79547f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -949,6 +949,7 @@
SUBDIR += p5-IO-Capture
SUBDIR += p5-IO-CaptureOutput
SUBDIR += p5-IO-Digest
+ SUBDIR += p5-IO-LockedFile
SUBDIR += p5-IO-Multiplex
SUBDIR += p5-IO-Pager
SUBDIR += p5-IO-Prompt
diff --git a/devel/p5-IO-LockedFile/Makefile b/devel/p5-IO-LockedFile/Makefile
new file mode 100644
index 000000000000..a466d8dadceb
--- /dev/null
+++ b/devel/p5-IO-LockedFile/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: devel/p5-IO-LockedFile
+# Date created: 11 November 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= IO-LockedFile
+PORTVERSION= 0.23
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= IO
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= IO::LockedFile - supply object methods for locking files
+
+PERL_CONFIGURE= yes
+
+MAN3= IO::LockedFile.3 \
+ IO::LockedFile::Flock.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-IO-LockedFile/distinfo b/devel/p5-IO-LockedFile/distinfo
new file mode 100644
index 000000000000..5c98e4738412
--- /dev/null
+++ b/devel/p5-IO-LockedFile/distinfo
@@ -0,0 +1,3 @@
+MD5 (IO-LockedFile-0.23.tar.gz) = f447f67ac7c9f42d86d07ca7477cdec6
+SHA256 (IO-LockedFile-0.23.tar.gz) = b1db7e6a6bf1be1e0615a6ecb5cebe78b00e287b127d5856d3f16b35dd47f8b5
+SIZE (IO-LockedFile-0.23.tar.gz) = 7599
diff --git a/devel/p5-IO-LockedFile/pkg-descr b/devel/p5-IO-LockedFile/pkg-descr
new file mode 100644
index 000000000000..fa0282020f48
--- /dev/null
+++ b/devel/p5-IO-LockedFile/pkg-descr
@@ -0,0 +1,6 @@
+IO::LockedFile supplies object methods for locking files. In its
+simplistic use, the IO::LockedFile class gives us the same interface as
+the IO::File class with the unique difference that the files we deal
+with are locked using the Flock mechanism (using the flock function).
+
+WWW: http://search.cpan.org/dist/IO-LockedFile/
diff --git a/devel/p5-IO-LockedFile/pkg-plist b/devel/p5-IO-LockedFile/pkg-plist
new file mode 100644
index 000000000000..f280fb6b072e
--- /dev/null
+++ b/devel/p5-IO-LockedFile/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/IO/LockedFile.pm
+%%SITE_PERL%%/IO/LockedFile/Flock.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/LockedFile/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/LockedFile 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/IO/LockedFile 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/IO 2>/dev/null || true