mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
9e74af8f58
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/
22 lines
398 B
Makefile
22 lines
398 B
Makefile
# 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>
|