Array::LineReader gives you the possibility to access lines of some file by the elements of an array. This modul inherites methods from Tie::Array (see Tie::Array). You save a lot of memory, because the file's content is read only on demand, i.e. in the case you access an element of the array. The offset and length of all the lines is hold in memory as long as you tie your array. WWW: http://search.cpan.org/dist/Array-LineReader/
30 lines
701 B
Makefile
30 lines
701 B
Makefile
# New ports collection makefile for: p5-Array-LineReader
|
|
# Date created: 2010/11/09
|
|
# Whom: chinsan
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Array-LineReader
|
|
PORTVERSION= 1.01
|
|
CATEGORIES= misc perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= chinsan@FreeBSD.org
|
|
COMMENT= Access lines of a file via an array
|
|
|
|
BUILD_DEPENDS= p5-IO>=0:${PORTSDIR}/devel/p5-IO
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Array::LineReader.3
|
|
|
|
PLIST_FILES= %%SITE_PERL%%/Array/LineReader.pm \
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/LineReader/.packlist
|
|
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/LineReader \
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array \
|
|
%%SITE_PERL%%/Array
|
|
|
|
.include <bsd.port.mk>
|