Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 21:00:30 +0200 (CEST)
From:      tobez@tobez.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26850: New port: devel/p5-Term-Prompt (Perl extension for prompting a user for information)
Message-ID:  <20010425190030.A8770546B@heechee.tobez.org>

next in thread | raw e-mail | index | archive | help

>Number:         26850
>Category:       ports
>Synopsis:       New port: devel/p5-Term-Prompt (Perl extension for prompting a user for information)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 25 12:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anton Berezin
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
>Description:

This perl routine will take a prompt, a default response and a list of
possible responses and 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.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Term-Prompt
#	p5-Term-Prompt/pkg-plist
#	p5-Term-Prompt/pkg-descr
#	p5-Term-Prompt/pkg-comment
#	p5-Term-Prompt/distinfo
#	p5-Term-Prompt/Makefile
#
echo c - p5-Term-Prompt
mkdir -p p5-Term-Prompt > /dev/null 2>&1
echo x - p5-Term-Prompt/pkg-plist
sed 's/^X//' >p5-Term-Prompt/pkg-plist << 'END-of-p5-Term-Prompt/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/Prompt/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/Term/Prompt.pm
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/Prompt
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Term 2>/dev/null || true
END-of-p5-Term-Prompt/pkg-plist
echo x - p5-Term-Prompt/pkg-descr
sed 's/^X//' >p5-Term-Prompt/pkg-descr << 'END-of-p5-Term-Prompt/pkg-descr'
XThis perl routine will take a prompt, a default response and a list of
Xpossible responses and deal with the user interface, (and the user!), by
Xdisplaying the prompt, showing the default, and checking to be sure that
Xthe response is one of the legal choices.
X
X-Anton
X<tobez@tobez.org>
END-of-p5-Term-Prompt/pkg-descr
echo x - p5-Term-Prompt/pkg-comment
sed 's/^X//' >p5-Term-Prompt/pkg-comment << 'END-of-p5-Term-Prompt/pkg-comment'
XPerl extension for prompting a user for information
END-of-p5-Term-Prompt/pkg-comment
echo x - p5-Term-Prompt/distinfo
sed 's/^X//' >p5-Term-Prompt/distinfo << 'END-of-p5-Term-Prompt/distinfo'
XMD5 (Term-Prompt-0.10.tar.gz) = 3de1db62672ba0dfed167543886688c1
END-of-p5-Term-Prompt/distinfo
echo x - p5-Term-Prompt/Makefile
sed 's/^X//' >p5-Term-Prompt/Makefile << 'END-of-p5-Term-Prompt/Makefile'
X# New ports collection makefile for:	devel/p5-Term-Prompt
X# Date created:				25 April 2001
X# Whom:					Anton Berezin <tobez@tobez.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Term-Prompt
XPORTVERSION=	0.10
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Term
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	tobez@tobez.org
X
XBUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
XRUN_DEPENDS=    ${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Term::Prompt.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-Term-Prompt/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010425190030.A8770546B>