aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2014-07-17 02:47:06 +0800
committerzi <zi@FreeBSD.org>2014-07-17 02:47:06 +0800
commit534c55bb1c8a1d440c98cad6f886b74c0c22cb51 (patch)
tree254ef65fcffd64a9f71d81f9c125f7dca03de41d
parentc58e12b4ffe0e25bfddfd5e6455d53b7f4f6ea3e (diff)
downloadfreebsd-ports-gnome-534c55bb1c8a1d440c98cad6f886b74c0c22cb51.tar.gz
freebsd-ports-gnome-534c55bb1c8a1d440c98cad6f886b74c0c22cb51.tar.zst
freebsd-ports-gnome-534c55bb1c8a1d440c98cad6f886b74c0c22cb51.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/
-rw-r--r--devel/p5-IO-Prompter/Makefile22
-rw-r--r--devel/p5-IO-Prompter/distinfo2
-rw-r--r--devel/p5-IO-Prompter/pkg-descr6
-rw-r--r--devel/p5-IO-Prompter/pkg-plist6
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