diff options
author | aaron <aaron@FreeBSD.org> | 2006-06-01 02:54:52 +0800 |
---|---|---|
committer | aaron <aaron@FreeBSD.org> | 2006-06-01 02:54:52 +0800 |
commit | 457094a7732ed0d651d98bb8beb435b18a581545 (patch) | |
tree | d48c43cf9712df3c35c8f82bcafb1d7f6bcc3271 /devel/p5-Term-UI | |
parent | 54a67b45f310263591d4458659bb306035ead7a6 (diff) | |
download | freebsd-ports-gnome-457094a7732ed0d651d98bb8beb435b18a581545.tar.gz freebsd-ports-gnome-457094a7732ed0d651d98bb8beb435b18a581545.tar.zst freebsd-ports-gnome-457094a7732ed0d651d98bb8beb435b18a581545.zip |
Adding port devel/p5-Term-UI, Term::ReadLine UI made easy.
Approved by: tobez (implicit)
Diffstat (limited to 'devel/p5-Term-UI')
-rw-r--r-- | devel/p5-Term-UI/Makefile | 33 | ||||
-rw-r--r-- | devel/p5-Term-UI/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Term-UI/pkg-descr | 11 | ||||
-rw-r--r-- | devel/p5-Term-UI/pkg-plist | 7 |
4 files changed, 54 insertions, 0 deletions
diff --git a/devel/p5-Term-UI/Makefile b/devel/p5-Term-UI/Makefile new file mode 100644 index 000000000000..10012422b122 --- /dev/null +++ b/devel/p5-Term-UI/Makefile @@ -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> diff --git a/devel/p5-Term-UI/distinfo b/devel/p5-Term-UI/distinfo new file mode 100644 index 000000000000..991d02b7ea96 --- /dev/null +++ b/devel/p5-Term-UI/distinfo @@ -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 diff --git a/devel/p5-Term-UI/pkg-descr b/devel/p5-Term-UI/pkg-descr new file mode 100644 index 000000000000..dd30cb67d018 --- /dev/null +++ b/devel/p5-Term-UI/pkg-descr @@ -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> diff --git a/devel/p5-Term-UI/pkg-plist b/devel/p5-Term-UI/pkg-plist new file mode 100644 index 000000000000..ff1989c0e4fb --- /dev/null +++ b/devel/p5-Term-UI/pkg-plist @@ -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 |