summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorcube <cube>2005-12-27 18:13:04 +0000
committercube <cube>2005-12-27 18:13:04 +0000
commit186c3ec16ab870bbb407078a8749b6b6194a18ad (patch)
treeac25f7d05bc2f9ed6437f34d28104e20f8555e84 /devel
parent174c84a612c428af14518f1e868e87fd8d134d45 (diff)
downloadpkgsrc-186c3ec16ab870bbb407078a8749b6b6194a18ad.tar.gz
Initial import of p5-Term-Prompt, version 1.03, into the NetBSD Packages
Collection. I had that one sitting here for a few months... I don't even remember writing it, so maybe proper credit is lacking. In such case tell me so. The Term-Prompt module can be used 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 security type, a generic numeric pattern type...
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Term-Prompt/DESCR6
-rw-r--r--devel/p5-Term-Prompt/Makefile19
-rw-r--r--devel/p5-Term-Prompt/PLIST1
-rw-r--r--devel/p5-Term-Prompt/distinfo5
4 files changed, 31 insertions, 0 deletions
diff --git a/devel/p5-Term-Prompt/DESCR b/devel/p5-Term-Prompt/DESCR
new file mode 100644
index 00000000000..6db777c03f8
--- /dev/null
+++ b/devel/p5-Term-Prompt/DESCR
@@ -0,0 +1,6 @@
+The Term-Prompt module can be used 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 security
+type, a generic numeric pattern type...
diff --git a/devel/p5-Term-Prompt/Makefile b/devel/p5-Term-Prompt/Makefile
new file mode 100644
index 00000000000..f039c297045
--- /dev/null
+++ b/devel/p5-Term-Prompt/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/12/27 18:13:04 cube Exp $
+#
+
+DISTNAME= Term-Prompt-1.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Term/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~persicom/Term-Prompt-1.03/
+COMMENT= Perl extension for prompting a user for information
+
+DEPENDS+= p5-Text-Tabs+Wrap>=1.0:../../textproc/p5-Text-Tabs+Wrap
+DEPENDS+= p5-Term-ReadKey>=1.0:../../devel/p5-Term-ReadKey
+
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Term/Prompt/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Term-Prompt/PLIST b/devel/p5-Term-Prompt/PLIST
new file mode 100644
index 00000000000..0b81a05232e
--- /dev/null
+++ b/devel/p5-Term-Prompt/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/27 18:13:04 cube Exp $
diff --git a/devel/p5-Term-Prompt/distinfo b/devel/p5-Term-Prompt/distinfo
new file mode 100644
index 00000000000..466e7c23710
--- /dev/null
+++ b/devel/p5-Term-Prompt/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/12/27 18:13:04 cube Exp $
+
+SHA1 (Term-Prompt-1.03.tar.gz) = b87b47c3ad56950eb7536cab2b05ac096b6b2a0c
+RMD160 (Term-Prompt-1.03.tar.gz) = ceb7b929990d41452fe07e600379bc3a4e41ba1a
+Size (Term-Prompt-1.03.tar.gz) = 11084 bytes