perl5 module for file locking with flock
This commit is contained in:
parent
b9dca714ea
commit
f2918e1612
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4098
33
devel/p5-File-BasicFlock/Makefile
Normal file
33
devel/p5-File-BasicFlock/Makefile
Normal 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>
|
1
devel/p5-File-BasicFlock/distinfo
Normal file
1
devel/p5-File-BasicFlock/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (File-BasicFLock-96.072401.tar.gz) = 6a3722b04f1b5256dcfbbee803715677
|
1
devel/p5-File-BasicFlock/pkg-comment
Normal file
1
devel/p5-File-BasicFlock/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
perl5 module for file locking with flock.
|
6
devel/p5-File-BasicFlock/pkg-descr
Normal file
6
devel/p5-File-BasicFlock/pkg-descr
Normal 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.
|
2
devel/p5-File-BasicFlock/pkg-plist
Normal file
2
devel/p5-File-BasicFlock/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
lib/perl5/man/man3/File::BasicFlock.3.gz
|
||||
lib/perl5/site_perl/File/BasicFlock.pm
|
Loading…
Reference in New Issue
Block a user