simple wrapper around File::Find, prereq for WIAB
This commit is contained in:
parent
21f88ca14c
commit
5f6e7557ba
17
devel/p5-File-Finder/Makefile
Normal file
17
devel/p5-File-Finder/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/04/17 21:14:00 espie Exp $
|
||||
|
||||
COMMENT= "wrapper around File::Find"
|
||||
|
||||
MODULES= cpan
|
||||
DISTNAME= File-Finder-0.53
|
||||
CATEGORIES= devel
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MAKE_ENV= TEST_VERBOSE=Yes
|
||||
REGRESS_DEPENDS= ::devel/p5-Test-Distribution
|
||||
.include <bsd.port.mk>
|
5
devel/p5-File-Finder/distinfo
Normal file
5
devel/p5-File-Finder/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (File-Finder-0.53.tar.gz) = komLOfw25KjILowEhOKScQ==
|
||||
RMD160 (File-Finder-0.53.tar.gz) = jqmIf1Li/ocpJvupduJ+ovq53Ng=
|
||||
SHA1 (File-Finder-0.53.tar.gz) = yMS70on2N9m4SA2rrNlylVaeS5I=
|
||||
SHA256 (File-Finder-0.53.tar.gz) = LsvBmsZ6nmNchyqAeo0+qv9bq8BU8VoZHUfN/F8XanQ=
|
||||
SIZE (File-Finder-0.53.tar.gz) = 14485
|
11
devel/p5-File-Finder/pkg/DESCR
Normal file
11
devel/p5-File-Finder/pkg/DESCR
Normal file
@ -0,0 +1,11 @@
|
||||
use File::Finder;
|
||||
## simulate "-type f"
|
||||
my $all_files = File::Finder->type('f');
|
||||
|
||||
## any rule can be extended:
|
||||
my $all_files_printer = $all_files->print;
|
||||
|
||||
File::Find is great, but constructing the wanted routine can
|
||||
sometimes be a pain. This module provides a wanted-writer, using
|
||||
syntax that is directly mappable to the find command's syntax.
|
||||
|
7
devel/p5-File-Finder/pkg/PLIST
Normal file
7
devel/p5-File-Finder/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/04/17 21:14:00 espie Exp $
|
||||
${P5SITE}/File/
|
||||
${P5SITE}/File/Finder/
|
||||
${P5SITE}/File/Finder.pm
|
||||
${P5SITE}/File/Finder/Steps.pm
|
||||
@man man/man3p/File::Finder.3p
|
||||
@man man/man3p/File::Finder::Steps.3p
|
Loading…
Reference in New Issue
Block a user