1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Add p5-File-Append-TempFile 0.02, a Perl module for, well, appending

data to files using a temporary copy.
This commit is contained in:
Peter Pentchev 2006-02-10 13:13:42 +00:00
parent 8558006a0a
commit d37aa7f7b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155642
5 changed files with 55 additions and 0 deletions

View File

@ -917,6 +917,7 @@
SUBDIR += p5-ExtUtils-ParseXS
SUBDIR += p5-ExtUtils-PkgConfig
SUBDIR += p5-ExtUtils-XSBuilder
SUBDIR += p5-File-Append-TempFile
SUBDIR += p5-File-BaseDir
SUBDIR += p5-File-BasicFlock
SUBDIR += p5-File-Binary

View File

@ -0,0 +1,35 @@
# New ports collection makefile for: p5-File-Append-TempFile
# Date created: February 10th, 2006
# Whom: Peter Pentchev <roam@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= File-Append-TempFile
PORTVERSION= 0.02
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX= p5-
MAINTAINER= roam@FreeBSD.org
COMMENT= Append data to files using a temporary copy
.if !defined(WITHOUT_TEST_POD_COVERAGE)
BUILD_DEPENDS= ${SITE_PERL}/Test/Pod/Coverage.pm:${PORTSDIR}/devel/p5-Test-Pod-Coverage
.endif
PERL_CONFIGURE= yes
MAN3= File::Append::TempFile.3
test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= needs Perl 5.6 or later
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (File-Append-TempFile-0.02.tar.gz) = ded37498949daefd941837e1f460156b
SHA256 (File-Append-TempFile-0.02.tar.gz) = 220a92878f3bdbf6cdb31c991bcbfd12a4e5671877036387638022a2daba890b
SIZE (File-Append-TempFile-0.02.tar.gz) = 5093

View File

@ -0,0 +1,8 @@
The File::Append::TempFile module provides an OOP interface to appending
data to files using a temporary file, in order to ensure the atomicity of
the updates. Care should be taken to ensure that no other applications
try to modify the original file concurrently, since any changes made while
appending the data may be lost.
Author: Peter Pentchev <roam@ringlet.net>
WWW: http://search.cpan.org/dist/File-Append-TempFile/

View File

@ -0,0 +1,8 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Append/TempFile/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Append/TempFile
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Append
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
%%SITE_PERL%%/File/Append/TempFile.pm
@dirrmtry %%SITE_PERL%%/File/Append
@dirrmtry %%SITE_PERL%%/File