From 959a71bc09e2b9cd9ae092ee06c4558437491b87 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 13 Nov 2006 15:19:19 +0000 Subject: [PATCH] simple interface for prompting user --- devel/p5-Term-Prompt/Makefile | 17 +++++++++++++++++ devel/p5-Term-Prompt/distinfo | 4 ++++ devel/p5-Term-Prompt/pkg/DESCR | 7 +++++++ devel/p5-Term-Prompt/pkg/PLIST | 4 ++++ 4 files changed, 32 insertions(+) create mode 100644 devel/p5-Term-Prompt/Makefile create mode 100644 devel/p5-Term-Prompt/distinfo create mode 100644 devel/p5-Term-Prompt/pkg/DESCR create mode 100644 devel/p5-Term-Prompt/pkg/PLIST diff --git a/devel/p5-Term-Prompt/Makefile b/devel/p5-Term-Prompt/Makefile new file mode 100644 index 00000000000..6cbe8477aea --- /dev/null +++ b/devel/p5-Term-Prompt/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/11/13 15:19:19 espie Exp $ + +COMMENT= "handles various forms of terminal input" + +MODULES= cpan + +DISTNAME= Term-Prompt-1.03 +CATEGORIES= devel + +# perl +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +RUN_DEPENDS= ::devel/p5-Term-ReadKey +.include diff --git a/devel/p5-Term-Prompt/distinfo b/devel/p5-Term-Prompt/distinfo new file mode 100644 index 00000000000..f708bb990ca --- /dev/null +++ b/devel/p5-Term-Prompt/distinfo @@ -0,0 +1,4 @@ +MD5 (Term-Prompt-1.03.tar.gz) = c67533d2d69b1f28ca74275852ed3e39 +RMD160 (Term-Prompt-1.03.tar.gz) = ceb7b929990d41452fe07e600379bc3a4e41ba1a +SHA1 (Term-Prompt-1.03.tar.gz) = b87b47c3ad56950eb7536cab2b05ac096b6b2a0c +SIZE (Term-Prompt-1.03.tar.gz) = 11084 diff --git a/devel/p5-Term-Prompt/pkg/DESCR b/devel/p5-Term-Prompt/pkg/DESCR new file mode 100644 index 00000000000..23c9a851ede --- /dev/null +++ b/devel/p5-Term-Prompt/pkg/DESCR @@ -0,0 +1,7 @@ +The main function of this module is to accept interactive input. +You specify the type of inputs allowed, a prompt, help text and +defaults and it will deal with the user interface, (and the user!), +by displaying the prompt, showing the default, and checking to be +sure that the response is one of the legal choices. Additional +"types" that could be added would be a phone type, a social secu- +rity type, a generic numeric pattern type... diff --git a/devel/p5-Term-Prompt/pkg/PLIST b/devel/p5-Term-Prompt/pkg/PLIST new file mode 100644 index 00000000000..8b4948c5b6f --- /dev/null +++ b/devel/p5-Term-Prompt/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/13 15:19:19 espie Exp $ +${P5SITE}/Term/ +${P5SITE}/Term/Prompt.pm +@man man/man3p/Term::Prompt.3p