989f91aa56
Packages Collection. The Perl 5 module IO::InSitu provides the open_rw( ) subroutine: It takes the names of two files: one to be opened for reading, the other for writing. It returns a list of two filehandles, opened to those two files. However, if the two filenames refer to the same file, open_rw( ) first makes a temporary copy of the file, which it opens for input. It then opens the original file for output. In such cases, when the input filehandle is eventually closed, IO::InSitu arranges for the temporary file to be automatically deleted.
19 lines
512 B
Makefile
19 lines
512 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2007/05/13 17:55:16 seb Exp $
|
|
#
|
|
|
|
DISTNAME= IO-InSitu-0.0.2
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IO/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/IO-InSitu/
|
|
COMMENT= Perl 5 module to do in-situ processing on a file
|
|
|
|
DEPENDS+= p5-version-[0-9]*:../../devel/p5-version
|
|
|
|
USE_LANGUAGES= # empty
|
|
PERL5_PACKLIST= auto/IO/InSitu/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|