mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add LICENSE
- Sort PLIST - Reformat pkg-descr
This commit is contained in:
parent
98a41da7cb
commit
0db4787a17
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360980
@ -10,11 +10,14 @@ PKGNAMEPREFIX= p5-
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Slurp and emit file trees as nested hashes
|
||||
|
||||
LICENSE= ART10 GPLv1
|
||||
LICENSE_COMB= dual
|
||||
|
||||
BUILD_DEPENDS= p5-File-Find-Rule>=0:${PORTSDIR}/devel/p5-File-Find-Rule \
|
||||
p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
USES= perl5
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
File::Slurp::Tree provides functions for slurping and emitting trees
|
||||
of files and directories.
|
||||
File::Slurp::Tree provides functions for slurping and emitting trees of files
|
||||
and directories.
|
||||
|
||||
# an example of use in a test suite
|
||||
use Test::More tests => 1;
|
||||
@ -7,8 +7,8 @@ of files and directories.
|
||||
is_deeply( slurp_tree( "t/some_path" ), { foo => {}, bar => "sample\n" },
|
||||
"some_path contains a directory called foo, and a file bar" );
|
||||
|
||||
The tree data structure is a hash of hashes. The keys of each hash are
|
||||
names of directories or files. Directories have hash references as
|
||||
their value, files have a scalar which holds the contents of the file.
|
||||
The tree data structure is a hash of hashes. The keys of each hash are names of
|
||||
directories or files. Directories have hash references as their value, files
|
||||
have a scalar which holds the contents of the file.
|
||||
|
||||
WWW: http://search.cpan.org/dist/File-Slurp-Tree/
|
||||
|
@ -1,7 +1,7 @@
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Slurp/Tree/.packlist
|
||||
%%SITE_PERL%%/File/Slurp/Tree.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Slurp/Tree/.packlist
|
||||
%%PERL5_MAN3%%/File::Slurp::Tree.3.gz
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Slurp/Tree
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Slurp/Tree
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Slurp
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File
|
||||
@dirrmtry %%SITE_PERL%%/File/Slurp
|
||||
|
Loading…
Reference in New Issue
Block a user