diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2014-07-16 18:47:06 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2014-07-16 18:47:06 +0000 |
commit | e21b05521c799c52fee36051cae0e9ea681e6fd8 (patch) | |
tree | 254ef65fcffd64a9f71d81f9c125f7dca03de41d /devel | |
parent | 53b5482d2f8fbf3eb69b269601d7817b7cce4c84 (diff) | |
download | ports-e21b05521c799c52fee36051cae0e9ea681e6fd8.tar.gz ports-e21b05521c799c52fee36051cae0e9ea681e6fd8.zip |
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/
Notes
Notes:
svn path=/head/; revision=362100
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-IO-Prompter/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-IO-Prompter/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-IO-Prompter/pkg-descr | 6 | ||||
-rw-r--r-- | devel/p5-IO-Prompter/pkg-plist | 6 |
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/p5-IO-Prompter/Makefile b/devel/p5-IO-Prompter/Makefile new file mode 100644 index 000000000000..eb0d8dbeb280 --- /dev/null +++ b/devel/p5-IO-Prompter/Makefile @@ -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> diff --git a/devel/p5-IO-Prompter/distinfo b/devel/p5-IO-Prompter/distinfo new file mode 100644 index 000000000000..af44feab7c70 --- /dev/null +++ b/devel/p5-IO-Prompter/distinfo @@ -0,0 +1,2 @@ +SHA256 (IO-Prompter-0.004010.tar.gz) = 370d1703c05bdd2b78f98684205587729ecc14b3479eb419780468066013162c +SIZE (IO-Prompter-0.004010.tar.gz) = 42045 diff --git a/devel/p5-IO-Prompter/pkg-descr b/devel/p5-IO-Prompter/pkg-descr new file mode 100644 index 000000000000..76caaeb85d99 --- /dev/null +++ b/devel/p5-IO-Prompter/pkg-descr @@ -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/ diff --git a/devel/p5-IO-Prompter/pkg-plist b/devel/p5-IO-Prompter/pkg-plist new file mode 100644 index 000000000000..e9c6be0ab7b4 --- /dev/null +++ b/devel/p5-IO-Prompter/pkg-plist @@ -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 |