1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Adding port devel/p5-Term-UI, Term::ReadLine UI made easy.

Approved by:	tobez (implicit)
This commit is contained in:
Aaron Dalton 2006-05-31 18:54:52 +00:00
parent 93d8e8d5b7
commit b1a2e1db29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164106
5 changed files with 55 additions and 0 deletions

View File

@ -1251,6 +1251,7 @@
SUBDIR += p5-Term-Screen
SUBDIR += p5-Term-Shell
SUBDIR += p5-Term-Size
SUBDIR += p5-Term-UI
SUBDIR += p5-Test-Base
SUBDIR += p5-Test-Class
SUBDIR += p5-Test-ClassAPI

33
devel/p5-Term-UI/Makefile Normal file
View File

@ -0,0 +1,33 @@
# New ports collection makefile for: p5-Term-UI
# Date created: 31 May 2006
# Whom: Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Term-UI
PORTVERSION= 0.12
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Term
PKGNAMEPREFIX= p5-
MAINTAINER= aaron@FreeBSD.org
COMMENT= Term::ReadLine UI made easy
BUILD_DEPENDS= ${SITE_PERL}/Params/Check.pm:${PORTSDIR}/devel/p5-Params-Check \
${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
${SITE_PERL}/Log/Message/Simple.pm:${PORTSDIR}/devel/p5-Log-Message-Simple
RUN_DEPENDS= ${BUILD_DEPENDS}
MAN3= Term::UI.3 Term::UI::History.3
PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Term-UI-0.12.tar.gz) = b34442df078685f3e8b1197e1e98d1e6
SHA256 (Term-UI-0.12.tar.gz) = 6ea969b45ca589540cc8d64860e629399812106556e799b511a819a330f453a2
SIZE (Term-UI-0.12.tar.gz) = 10058

View File

@ -0,0 +1,11 @@
Term::UI is a transparent way of eliminating the overhead of having to
format a question and then validate the reply, informing the user if the
answer was not proper and re-issuing the question.
Simply give it the question you want to ask, optionally with choices the
user can pick from and a default and Term::UI will DWYM.
For asking a yes or no question, there's even a shortcut.
WWW: http://search.cpan.org/dist/Term-UI
Author: Jos Boumans <kane@cpan.org>

View File

@ -0,0 +1,7 @@
%%SITE_PERL%%/Term/UI.pm
%%SITE_PERL%%/Term/UI/History.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/UI/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/UI
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term
@dirrm %%SITE_PERL%%/Term/UI
@dirrmtry %%SITE_PERL%%/Term