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.
This commit is contained in:
obache 2013-03-11 13:11:09 +00:00
parent 4cb7380a87
commit ec7e407cf1
3 changed files with 34 additions and 0 deletions

View file

@ -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.

View file

@ -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"

View file

@ -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