diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-06-18 02:23:58 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-06-18 02:23:58 +0000 |
commit | c573e82e632eae577e042b93f3d0ed7b10ce20dc (patch) | |
tree | f8be7e8d38b9f4c811760144d0832e07046fb221 /devel/p5-Tie-File | |
parent | a48d6c62b9c0cb4e647bc1a8a6434c954b443cab (diff) | |
download | ports-c573e82e632eae577e042b93f3d0ed7b10ce20dc.tar.gz ports-c573e82e632eae577e042b93f3d0ed7b10ce20dc.zip |
Notes
Diffstat (limited to 'devel/p5-Tie-File')
-rw-r--r-- | devel/p5-Tie-File/Makefile | 28 | ||||
-rw-r--r-- | devel/p5-Tie-File/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Tie-File/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-Tie-File/pkg-plist | 5 |
4 files changed, 43 insertions, 0 deletions
diff --git a/devel/p5-Tie-File/Makefile b/devel/p5-Tie-File/Makefile new file mode 100644 index 000000000000..411d684da3d9 --- /dev/null +++ b/devel/p5-Tie-File/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: p5-Tie-File +# Date created: 17 June 2003 +# Whom: Yen-Ming Lee <leeym@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Tie-File +PORTVERSION= 0.96 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Tie +PKGNAMEPREFIX= p5- + +MAINTAINER= leeym@FreeBSD.org +COMMENT= Access the lines of a disk file via a Perl array + +PERL_CONFIGURE= yes + +MAN3= Tie::File.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} > 500703 +IGNORE= "This port is for perl 5.7.2 and under only." +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Tie-File/distinfo b/devel/p5-Tie-File/distinfo new file mode 100644 index 000000000000..8b7db503e8a8 --- /dev/null +++ b/devel/p5-Tie-File/distinfo @@ -0,0 +1 @@ +MD5 (Tie-File-0.96.tar.gz) = 1d7184e02a560afbc7a9eafffc80f44c diff --git a/devel/p5-Tie-File/pkg-descr b/devel/p5-Tie-File/pkg-descr new file mode 100644 index 000000000000..35d2945d110d --- /dev/null +++ b/devel/p5-Tie-File/pkg-descr @@ -0,0 +1,9 @@ +Tie::File represents a regular text file as a Perl array. Each element in +the array corresponds to a record in the file. The first line of the file +is element 0 of the array; the second line is element 1, and so on. + +The file is not loaded into memory, so this will work even for gigantic files. + +Changes to the array are reflected in the file immediately. + +WWW: http://search.cpan.org/dist/Tie-File/ diff --git a/devel/p5-Tie-File/pkg-plist b/devel/p5-Tie-File/pkg-plist new file mode 100644 index 000000000000..1bbf6bc24377 --- /dev/null +++ b/devel/p5-Tie-File/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Tie/File.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/File/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/File +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Tie 2>/dev/null || true |