1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

File::Inplace is a Perl module intended to ease the common task of

editing a file in-place. Inspired by variations of Perl's -i option,
this module is intended for somewhat more structured and reusable
editing than command line Perl typically allows.

File::Inplace endeavors to guarantee file integrity; that is, either
all of the changes made will be saved to the file, or none will.
It also offers functionality such as backup creation, automatic
field splitting per-line, automatic chomping/unchomping, and aborting
edits partially through without affecting the original file.

WWW:    http://search.cpan.org/dist/File-Inplace/
This commit is contained in:
Greg Larkin 2010-12-08 21:03:20 +00:00
parent 9fc3722c41
commit 9e74af8f58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265874
5 changed files with 40 additions and 0 deletions

View File

@ -452,6 +452,7 @@
SUBDIR += p5-DocSet
SUBDIR += p5-EBook-Tools
SUBDIR += p5-Excel-Template
SUBDIR += p5-File-Inplace
SUBDIR += p5-Filter-Simple
SUBDIR += p5-FormValidator-Lite
SUBDIR += p5-FormValidator-Simple

View File

@ -0,0 +1,21 @@
# New ports collection makefile for: File-Inplace
# Date created: 2010-12-08
# Whom: Greg Larkin <glarkin@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= File-Inplace
PORTVERSION= 0.20
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= glarkin@FreeBSD.org
COMMENT= Perl module for in-place editing of files
PERL_CONFIGURE= yes
MAN3= File::Inplace.3
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (File-Inplace-0.20.tar.gz) = 00d63cf15fdd03a166ecb7af2813a684251254f992fcf5da722ff557b4f10a3e
SIZE (File-Inplace-0.20.tar.gz) = 5139

View File

@ -0,0 +1,12 @@
File::Inplace is a Perl module intended to ease the common task of
editing a file in-place. Inspired by variations of Perl's -i option,
this module is intended for somewhat more structured and reusable
editing than command line Perl typically allows.
File::Inplace endeavors to guarantee file integrity; that is, either
all of the changes made will be saved to the file, or none will.
It also offers functionality such as backup creation, automatic
field splitting per-line, automatic chomping/unchomping, and aborting
edits partially through without affecting the original file.
WWW: http://search.cpan.org/dist/File-Inplace/

View File

@ -0,0 +1,4 @@
%%SITE_PERL%%/File/Inplace.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Inplace/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Inplace
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File