diff options
author | foxfair <foxfair@FreeBSD.org> | 2003-09-07 09:07:55 +0800 |
---|---|---|
committer | foxfair <foxfair@FreeBSD.org> | 2003-09-07 09:07:55 +0800 |
commit | 884d3ff10e0d18563f204bef6bd8b756cd1c268f (patch) | |
tree | 4e70f44e0162fb7b2a6b7bd17a914a8a7b6b19b1 /devel/p5-File-Slurp | |
parent | 1c1f48377c6081a41d5ba0958ca1d9639831afe0 (diff) | |
download | freebsd-ports-graphics-884d3ff10e0d18563f204bef6bd8b756cd1c268f.tar.gz freebsd-ports-graphics-884d3ff10e0d18563f204bef6bd8b756cd1c268f.tar.zst freebsd-ports-graphics-884d3ff10e0d18563f204bef6bd8b756cd1c268f.zip |
PR: 56543
Submitted by: Lars Thegler <lars@thegler.dk>
- Update to 2004.0904
- Make portlint happy
Diffstat (limited to 'devel/p5-File-Slurp')
-rw-r--r-- | devel/p5-File-Slurp/Makefile | 2 | ||||
-rw-r--r-- | devel/p5-File-Slurp/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-File-Slurp/pkg-descr | 25 | ||||
-rw-r--r-- | devel/p5-File-Slurp/pkg-plist | 10 |
4 files changed, 8 insertions, 31 deletions
diff --git a/devel/p5-File-Slurp/Makefile b/devel/p5-File-Slurp/Makefile index a5c9a955c09..b195fb1f6ed 100644 --- a/devel/p5-File-Slurp/Makefile +++ b/devel/p5-File-Slurp/Makefile @@ -6,7 +6,7 @@ # PORTNAME= File-Slurp -PORTVERSION= 2002.1031 +PORTVERSION= 2004.0904 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= File diff --git a/devel/p5-File-Slurp/distinfo b/devel/p5-File-Slurp/distinfo index 764380bc633..f900005979c 100644 --- a/devel/p5-File-Slurp/distinfo +++ b/devel/p5-File-Slurp/distinfo @@ -1 +1 @@ -MD5 (File-Slurp-2002.1031.tar.gz) = 92eeb34d54e0347f0a70adf45c119a4c +MD5 (File-Slurp-2004.0904.tar.gz) = 96239bbc1cfdfc4ab5f59cf4a490855a diff --git a/devel/p5-File-Slurp/pkg-descr b/devel/p5-File-Slurp/pkg-descr index c84a40630d8..02ea370f4ad 100644 --- a/devel/p5-File-Slurp/pkg-descr +++ b/devel/p5-File-Slurp/pkg-descr @@ -2,27 +2,4 @@ These are quickie routines that are meant to save a couple of lines of code over and over again. They do not do anything fancy. -read_file() does what you would expect. If you are using -its output in array context, then it returns an array of -lines. If you are calling it from scalar context, then -returns the entire file in a single string. - -It croaks()s if it can't open the file. - -write_file() creates or overwrites files. - -append_file() appends to a file. - -overwrite_file() does an in-place update of an existing -file or creates a new file if it didn't already exist. - -Write_file will also replace a file. The difference is -that the first that that write_file() does is to trucate -the file whereas the last thing that overwrite_file() is -to trucate the file. Overwrite_file() should be used in -situations where you have a file that always needs to have -contents, even in the middle of an update. - -read_dir() returns all of the entries in a directory -except for "." and "..". It croaks if it cannot open the -directory. +WWW: http://search.cpan.org/dist/File-Slurp diff --git a/devel/p5-File-Slurp/pkg-plist b/devel/p5-File-Slurp/pkg-plist index 11feca9b917..69b3747be57 100644 --- a/devel/p5-File-Slurp/pkg-plist +++ b/devel/p5-File-Slurp/pkg-plist @@ -1,5 +1,5 @@ -lib/perl5/site_perl/%%PERL_VER%%/File/Slurp.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Slurp/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Slurp -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/File 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true +%%SITE_PERL%%/File/Slurp.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Slurp/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Slurp +@unexec rmdir %D/%%SITE_PERL%%/File 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true |