New port: devel/p5-IO-Prompter:

IO::Prompter exports a single subroutine, 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.

IO::Prompter is a replacement for IO::Prompt, which is no longer being maintained.

WWW: http://search.cpan.org/dist/IO-Prompter/
This commit is contained in:
Ryan Steinmetz 2014-07-16 18:47:06 +00:00
parent 53b5482d2f
commit e21b05521c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362100
4 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= IO-Prompter
PORTVERSION= 0.004010
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= zi@FreeBSD.org
COMMENT= Prompt for input, read it, clean it, return it
BUILD_DEPENDS= devel/p5-Contextual-Return>0:${PORTSDIR}/devel/p5-Contextual-Return
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
regression-test: build
cd ${WRKSRC}/ && ${MAKE} test
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (IO-Prompter-0.004010.tar.gz) = 370d1703c05bdd2b78f98684205587729ecc14b3479eb419780468066013162c
SIZE (IO-Prompter-0.004010.tar.gz) = 42045

View File

@ -0,0 +1,6 @@
IO::Prompter exports a single subroutine, 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.
WWW: http://search.cpan.org/dist/IO-Prompter/

View File

@ -0,0 +1,6 @@
%%SITE_PERL%%/IO/Prompter.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Prompter/.packlist
%%PERL5_MAN3%%/IO::Prompter.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Prompter
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO
@dirrmtry %%SITE_PERL%%/IO