perl5 module for file locking with flock

This commit is contained in:
James FitzGibbon 1996-10-24 08:01:28 +00:00
parent b9dca714ea
commit f2918e1612
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4098
5 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# New ports collection makefile for: p5-File-BasicFlock
# Version required: 96.072401
# Date created:
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $Id$
#
DISTNAME= File-BasicFLock-96.072401
PKGNAME= p5-File-BasicFlock-96.072401
CATEGORIES+= devel
MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/File/ \
ftp://ftp.cdrom.com/pub/perl/CPAN/modules/by-module/File/ \
ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/File/ \
ftp://ftp.leo.org/pub/comp/programming/languages/perl/CPAN/modules/by-module/File/ \
ftp://ftp.demon.co.uk/pub/mirrors/perl/CPAN/modules/by-module/File/ \
ftp://ftp.lab.kdd.co.jp/lang/perl/CPAN/modules/by-module/File/
MAINTAINER= jfitz@FreeBSD.ORG
BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
do-configure:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
post-install:
.if !defined(NOMANCOMPRESS)
@ for file in File::BasicFlock; do \
gzip -9nf ${PREFIX}/lib/perl5/man/man3/$$file.3; \
done
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (File-BasicFLock-96.072401.tar.gz) = 6a3722b04f1b5256dcfbbee803715677

View File

@ -0,0 +1 @@
perl5 module for file locking with flock.

View File

@ -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.

View File

@ -0,0 +1,2 @@
lib/perl5/man/man3/File::BasicFlock.3.gz
lib/perl5/site_perl/File/BasicFlock.pm