aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-File-Flock
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-05-03 06:34:10 +0800
committersobomax <sobomax@FreeBSD.org>2003-05-03 06:34:10 +0800
commitc34336b753a63289a09b1fb139642f4ea840ac66 (patch)
treea200f96f904b641cbaf24f556f598583964d708e /devel/p5-File-Flock
parent8873cd42dae435bb296f59ea30f3b660e4922a8c (diff)
downloadfreebsd-ports-graphics-c34336b753a63289a09b1fb139642f4ea840ac66.tar.gz
freebsd-ports-graphics-c34336b753a63289a09b1fb139642f4ea840ac66.tar.zst
freebsd-ports-graphics-c34336b753a63289a09b1fb139642f4ea840ac66.zip
Add p5-File-Flock 101.060501, a perl5 module for file locking with
flock.
Diffstat (limited to 'devel/p5-File-Flock')
-rw-r--r--devel/p5-File-Flock/Makefile23
-rw-r--r--devel/p5-File-Flock/distinfo1
-rw-r--r--devel/p5-File-Flock/pkg-descr6
-rw-r--r--devel/p5-File-Flock/pkg-plist5
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/p5-File-Flock/Makefile b/devel/p5-File-Flock/Makefile
new file mode 100644
index 00000000000..783d76a9fc3
--- /dev/null
+++ b/devel/p5-File-Flock/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: p5-File-Flock
+# Date created: 3 May 2003
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= File-Flock
+PORTVERSION= 101.060501
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= File
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Perl5 module for file locking with flock
+
+PERL_CONFIGURE= yes
+
+MAN3= File::Flock.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/devel/p5-File-Flock/distinfo b/devel/p5-File-Flock/distinfo
new file mode 100644
index 00000000000..41eff9bd0b2
--- /dev/null
+++ b/devel/p5-File-Flock/distinfo
@@ -0,0 +1 @@
+MD5 (File-Flock-101.060501.tar.gz) = 5a54ce689c6126ae431f7c75d085bd6f
diff --git a/devel/p5-File-Flock/pkg-descr b/devel/p5-File-Flock/pkg-descr
new file mode 100644
index 00000000000..b8d8b19d029
--- /dev/null
+++ b/devel/p5-File-Flock/pkg-descr
@@ -0,0 +1,6 @@
+File::Flock is a wrapper around the flock() call. The only thing it
+does that is special is that it creates the lock file if the lock file
+does not already exist.
+
+It will also try to remove the lock file. This makes it a bit
+complicated.
diff --git a/devel/p5-File-Flock/pkg-plist b/devel/p5-File-Flock/pkg-plist
new file mode 100644
index 00000000000..7ecc11e53ed
--- /dev/null
+++ b/devel/p5-File-Flock/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/File/Flock.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Flock/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Flock
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/File 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true