aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-05-02 22:34:10 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-05-02 22:34:10 +0000
commit038b90aa25bd662648ec96dcd562da24241f1bdb (patch)
tree1ae376ea2082bb02f1119c2bdbd4d577674f16c4 /devel
parent1ed8a8e88c1174b50038f57e3dc279ec545a2abc (diff)
downloadports-038b90aa25bd662648ec96dcd562da24241f1bdb.tar.gz
ports-038b90aa25bd662648ec96dcd562da24241f1bdb.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-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
5 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 41e7f41979d0..17fb435722b0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -531,6 +531,7 @@
SUBDIR += p5-File-Cache
SUBDIR += p5-File-DirSync
SUBDIR += p5-File-FTS
+ SUBDIR += p5-File-Flock
SUBDIR += p5-File-Lock
SUBDIR += p5-File-MMagic
SUBDIR += p5-File-NFSLock
diff --git a/devel/p5-File-Flock/Makefile b/devel/p5-File-Flock/Makefile
new file mode 100644
index 000000000000..783d76a9fc30
--- /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 000000000000..41eff9bd0b2f
--- /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 000000000000..b8d8b19d0295
--- /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 000000000000..7ecc11e53ed3
--- /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