Initial import of p5-Path-Dispatcher version 0.12 in the NetBSD
Packages Collection. The Perl 5 module Path::Dispatcher is similar to the module Jifty::Dispatcher but its use is for the command line. The basic operation is that of dispatch. Dispatch takes a path and a list of rules, and it returns a list of matches. From there you can "run" the rules that matched. These phases are distinct so that, if you need to, you can inspect which rules were matched without ever running their codeblocks.
This commit is contained in:
parent
3a4f443ed9
commit
b043ce740d
3 changed files with 39 additions and 0 deletions
8
devel/p5-Path-Dispatcher/DESCR
Normal file
8
devel/p5-Path-Dispatcher/DESCR
Normal file
|
@ -0,0 +1,8 @@
|
|||
The Perl 5 module Path::Dispatcher is similar to the module
|
||||
Jifty::Dispatcher but its use is for the command line.
|
||||
|
||||
The basic operation is that of dispatch. Dispatch takes a path and
|
||||
a list of rules, and it returns a list of matches. From there you
|
||||
can "run" the rules that matched. These phases are distinct so that,
|
||||
if you need to, you can inspect which rules were matched without
|
||||
ever running their codeblocks.
|
26
devel/p5-Path-Dispatcher/Makefile
Normal file
26
devel/p5-Path-Dispatcher/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2009/04/23 22:17:01 seb Exp $
|
||||
|
||||
DISTNAME= Path-Dispatcher-0.12
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SA/SARTAK/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://search.cpan.org/dist/Path-Dispatcher/
|
||||
COMMENT= Perl 5 module providing flexible and extensible dispatch
|
||||
#LICENSE=
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
USE_LANGUAGES= # empty
|
||||
|
||||
DEPENDS+= p5-Any-Moose-[0-9]*:../../devel/p5-Any-Moose
|
||||
DEPENDS+= p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
|
||||
|
||||
# For test target
|
||||
BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
|
||||
|
||||
PERL5_PACKLIST= auto/Path/Dispatcher/.packlist
|
||||
|
||||
.include "../../lang/perl5/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
5
devel/p5-Path-Dispatcher/distinfo
Normal file
5
devel/p5-Path-Dispatcher/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2009/04/23 22:17:01 seb Exp $
|
||||
|
||||
SHA1 (Path-Dispatcher-0.12.tar.gz) = 5bdf02d7a49594863501f287ae38f46c56f71eb1
|
||||
RMD160 (Path-Dispatcher-0.12.tar.gz) = 907f66d485ae981d74b36d62626b1baee8b09dd0
|
||||
Size (Path-Dispatcher-0.12.tar.gz) = 33901 bytes
|
Loading…
Reference in a new issue