diff options
author | obache <obache@pkgsrc.org> | 2013-03-11 13:11:09 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-03-11 13:11:09 +0000 |
commit | ece4c55519cb43a2c0a51c6267277a7f25dd6a1c (patch) | |
tree | 2956e86f4267267b5a7316e4921b466d012f6d61 /devel | |
parent | 7cfa8afc19f18eecd3d48fec18846d14a6164741 (diff) | |
download | pkgsrc-ece4c55519cb43a2c0a51c6267277a7f25dd6a1c.tar.gz |
Import p5-IO-Prompter-0.004003 as devel/p5-IO-Prompter.
PR pkg/47604 by Edgar Fuss.
IO::Prompter exports a single subroutine, C<prompt>, that prints a
prompt (but only if the program's selected input and output streams are
connected to a terminal), then reads some input, then chomps it, and
finally returns an object representing that text.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-IO-Prompter/DESCR | 4 | ||||
-rw-r--r-- | devel/p5-IO-Prompter/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-IO-Prompter/distinfo | 5 |
3 files changed, 34 insertions, 0 deletions
diff --git a/devel/p5-IO-Prompter/DESCR b/devel/p5-IO-Prompter/DESCR new file mode 100644 index 00000000000..d43fafd49ff --- /dev/null +++ b/devel/p5-IO-Prompter/DESCR @@ -0,0 +1,4 @@ +IO::Prompter exports a single subroutine, C<prompt>, that prints a +prompt (but only if the program's selected input and output streams are +connected to a terminal), then reads some input, then chomps it, and +finally returns an object representing that text. diff --git a/devel/p5-IO-Prompter/Makefile b/devel/p5-IO-Prompter/Makefile new file mode 100644 index 00000000000..7bdfbda4cbe --- /dev/null +++ b/devel/p5-IO-Prompter/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2013/03/11 13:11:09 obache Exp $ +# + +DISTNAME= IO-Prompter-0.004003 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IO/} + +HOMEPAGE= http://search.cpan.org/dist/IO-Prompter/ +COMMENT= Prompt for, read, vet, chomp, and encapsulate input +LICENSE= ${PERL5_LICENSE} + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +PERL5_REQD+= 5.10 + +DEPENDS+= p5-Contextual-Return-[0-9]*:../../devel/p5-Contextual-Return + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/IO/Prompter/.packlist + +PERL5_MODULE_TYPE= MakeMaker + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-IO-Prompter/distinfo b/devel/p5-IO-Prompter/distinfo new file mode 100644 index 00000000000..2b96287318c --- /dev/null +++ b/devel/p5-IO-Prompter/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/03/11 13:11:09 obache Exp $ + +SHA1 (IO-Prompter-0.004003.tar.gz) = 40fd90b71b178188e38698a2d274bb1ea26546d1 +RMD160 (IO-Prompter-0.004003.tar.gz) = d5243f510d9a8d2fe2020010c819186c58677612 +Size (IO-Prompter-0.004003.tar.gz) = 41566 bytes |