aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortj <tj@FreeBSD.org>2013-01-08 03:37:10 +0800
committertj <tj@FreeBSD.org>2013-01-08 03:37:10 +0800
commit3851b778bdba7103f5966f943a0b6f085546c7b2 (patch)
tree0dfc943fc3d3c4811f4fdcb0d973d2a4b7a4018d /devel
parentc61412ccd5734be3d9ba8f7451759c12d7fb56c4 (diff)
downloadfreebsd-ports-gnome-3851b778bdba7103f5966f943a0b6f085546c7b2.tar.gz
freebsd-ports-gnome-3851b778bdba7103f5966f943a0b6f085546c7b2.tar.zst
freebsd-ports-gnome-3851b778bdba7103f5966f943a0b6f085546c7b2.zip
FcntlLock is a module to do file locking in an object oriented fashion using
the fcntl(2) system call. This allows locks on parts of a file as well as on the whole file and overcomes some known problems with flock(2), on which Perls flock() function is based by default. WWW: http://search.cpan.org/dist/File-FcntlLock/
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-File-FcntlLock/Makefile17
-rw-r--r--devel/p5-File-FcntlLock/distinfo2
-rw-r--r--devel/p5-File-FcntlLock/pkg-descr6
-rw-r--r--devel/p5-File-FcntlLock/pkg-plist7
5 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 51ff859984c1..7b7e2e56cb1a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1919,6 +1919,7 @@
SUBDIR += p5-File-Dir-Dumper
SUBDIR += p5-File-DirSync
SUBDIR += p5-File-ExtAttr
+ SUBDIR += p5-File-FcntlLock
SUBDIR += p5-File-Find-Closures
SUBDIR += p5-File-Find-Object
SUBDIR += p5-File-Find-Rule
diff --git a/devel/p5-File-FcntlLock/Makefile b/devel/p5-File-FcntlLock/Makefile
new file mode 100644
index 000000000000..6a89fa3663e2
--- /dev/null
+++ b/devel/p5-File-FcntlLock/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+#
+
+PORTNAME= File-FcntlLock
+PORTVERSION= 0.14
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tj@FreeBSD.org
+COMMENT= Perl5 module for file locking with fcntl
+
+PERL_CONFIGURE= yes
+
+MAN3= File::FcntlLock.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-File-FcntlLock/distinfo b/devel/p5-File-FcntlLock/distinfo
new file mode 100644
index 000000000000..988846d967a0
--- /dev/null
+++ b/devel/p5-File-FcntlLock/distinfo
@@ -0,0 +1,2 @@
+SHA256 (File-FcntlLock-0.14.tar.gz) = a849e6d7cde012a2699a923918bf73f9bc8dd240c69fc42f0e985739cbd31194
+SIZE (File-FcntlLock-0.14.tar.gz) = 9622
diff --git a/devel/p5-File-FcntlLock/pkg-descr b/devel/p5-File-FcntlLock/pkg-descr
new file mode 100644
index 000000000000..2f6d35fd97b9
--- /dev/null
+++ b/devel/p5-File-FcntlLock/pkg-descr
@@ -0,0 +1,6 @@
+FcntlLock is a module to do file locking in an object oriented fashion using
+the fcntl(2) system call. This allows locks on parts of a file as well as on
+the whole file and overcomes some known problems with flock(2), on which Perls
+flock() function is based by default.
+
+WWW: http://search.cpan.org/dist/File-FcntlLock/
diff --git a/devel/p5-File-FcntlLock/pkg-plist b/devel/p5-File-FcntlLock/pkg-plist
new file mode 100644
index 000000000000..8df70e79e977
--- /dev/null
+++ b/devel/p5-File-FcntlLock/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/File/FcntlLock.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/FcntlLock/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/FcntlLock/FcntlLock.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/FcntlLock/FcntlLock.bs
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/FcntlLock
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/File
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File