From b90f1d112b0045f6ae440b4e1b3df708182cb96e Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Wed, 30 Jan 2013 16:39:57 +0000 Subject: [PATCH] - Add p5-IO-Prompt-Tiny 0.001 IO::Prompt::Tiny is an extremely simple prompting module, based on the extremely simple prompt offered by ExtUtils::MakeMaker.In many cases, that's all you need and this module gives it to you without all the overhead of ExtUtils::MakeMaker just to prompt for input. It doesn't do any validation, coloring, menus, timeouts, or any of the wild, crazy, cool stuff that other prompting modules do. It just prompts with a default. That's it! WWW: http://search.cpan.org/dist/IO-Prompt-Tiny/ --- devel/Makefile | 1 + devel/p5-IO-Prompt-Tiny/Makefile | 28 ++++++++++++++++++++++++++++ devel/p5-IO-Prompt-Tiny/distinfo | 2 ++ devel/p5-IO-Prompt-Tiny/pkg-descr | 10 ++++++++++ devel/p5-IO-Prompt-Tiny/pkg-plist | 7 +++++++ 5 files changed, 48 insertions(+) create mode 100644 devel/p5-IO-Prompt-Tiny/Makefile create mode 100644 devel/p5-IO-Prompt-Tiny/distinfo create mode 100644 devel/p5-IO-Prompt-Tiny/pkg-descr create mode 100644 devel/p5-IO-Prompt-Tiny/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index fd02ed17905a..b534dae304c7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2071,6 +2071,7 @@ SUBDIR += p5-IO-Null SUBDIR += p5-IO-Pager SUBDIR += p5-IO-Prompt + SUBDIR += p5-IO-Prompt-Tiny SUBDIR += p5-IO-Pty-Easy SUBDIR += p5-IO-String SUBDIR += p5-IO-Stty diff --git a/devel/p5-IO-Prompt-Tiny/Makefile b/devel/p5-IO-Prompt-Tiny/Makefile new file mode 100644 index 000000000000..f21b50590661 --- /dev/null +++ b/devel/p5-IO-Prompt-Tiny/Makefile @@ -0,0 +1,28 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= IO-Prompt-Tiny +PORTVERSION= 0.001 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Prompt for user input with a default option + +LICENSE= AL2 + +BUILD_DEPENDS= p5-Capture-Tiny>=0:${PORTSDIR}/devel/p5-Capture-Tiny +RUN_DEPENDS:= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= IO::Prompt::Tiny.3 + +.include + +.if ${PERL_LEVEL} < 501400 +TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/devel/p5-IO-Prompt-Tiny/distinfo b/devel/p5-IO-Prompt-Tiny/distinfo new file mode 100644 index 000000000000..42212681ddea --- /dev/null +++ b/devel/p5-IO-Prompt-Tiny/distinfo @@ -0,0 +1,2 @@ +SHA256 (IO-Prompt-Tiny-0.001.tar.gz) = e0b0fda99b3319c168a57b1dba5517152491e3da687077bf6844b3d716b30648 +SIZE (IO-Prompt-Tiny-0.001.tar.gz) = 11411 diff --git a/devel/p5-IO-Prompt-Tiny/pkg-descr b/devel/p5-IO-Prompt-Tiny/pkg-descr new file mode 100644 index 000000000000..e886f919cfe9 --- /dev/null +++ b/devel/p5-IO-Prompt-Tiny/pkg-descr @@ -0,0 +1,10 @@ +IO::Prompt::Tiny is an extremely simple prompting module, based on the extremely +simple prompt offered by ExtUtils::MakeMaker.In many cases, that's all you need +and this module gives it to you without all the overhead of ExtUtils::MakeMaker +just to prompt for input. + +It doesn't do any validation, coloring, menus, timeouts, or any of the wild, +crazy, cool stuff that other prompting modules do. It just prompts with a +default. That's it! + +WWW: http://search.cpan.org/dist/IO-Prompt-Tiny/ diff --git a/devel/p5-IO-Prompt-Tiny/pkg-plist b/devel/p5-IO-Prompt-Tiny/pkg-plist new file mode 100644 index 000000000000..ac9452d11bb8 --- /dev/null +++ b/devel/p5-IO-Prompt-Tiny/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/IO/Prompt/Tiny.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Prompt/Tiny/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Prompt/Tiny +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Prompt +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO +@dirrmtry %%SITE_PERL%%/IO/Prompt +@dirrmtry %%SITE_PERL%%/IO