Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2001 12:53:46 +0200 (CEST)
From:      tobez@tobez.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26875: New port: lang/p5-Switch (Switch - A switch statement for Perl)
Message-ID:  <20010426105346.755DA546B@heechee.tobez.org>

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

>Number:         26875
>Category:       ports
>Synopsis:       New port: lang/p5-Switch (Switch - A switch statement for Perl)
>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:   Thu Apr 26 04:00:06 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anton Berezin
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
>Description:

Switch.pm provides the syntax and semantics for an explicit case
mechanism for Perl. The syntax is minimal, introducing only the keywords
switch and case and conforming to the general pattern of existing Perl
control structures. The semantics are particularly rich, allowing any
one (or more) of nearly 30 forms of matching to be used when comparing a
switch value with its various cases.

>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-Switch
#	p5-Switch/pkg-plist
#	p5-Switch/pkg-descr
#	p5-Switch/pkg-comment
#	p5-Switch/distinfo
#	p5-Switch/Makefile
#
echo c - p5-Switch
mkdir -p p5-Switch > /dev/null 2>&1
echo x - p5-Switch/pkg-plist
sed 's/^X//' >p5-Switch/pkg-plist << 'END-of-p5-Switch/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Switch/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/demo.pl
Xlib/perl5/site_perl/%%PERL_VER%%/Switch.pm
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Switch 2>/dev/null || true
END-of-p5-Switch/pkg-plist
echo x - p5-Switch/pkg-descr
sed 's/^X//' >p5-Switch/pkg-descr << 'END-of-p5-Switch/pkg-descr'
XSwitch.pm provides the syntax and semantics for an explicit case
Xmechanism for Perl. The syntax is minimal, introducing only the keywords
Xswitch and case and conforming to the general pattern of existing Perl
Xcontrol structures. The semantics are particularly rich, allowing any
Xone (or more) of nearly 30 forms of matching to be used when comparing a
Xswitch value with its various cases.
X
X-Anton
X<tobez@tobez.org>
END-of-p5-Switch/pkg-descr
echo x - p5-Switch/pkg-comment
sed 's/^X//' >p5-Switch/pkg-comment << 'END-of-p5-Switch/pkg-comment'
XSwitch - A switch statement for Perl
END-of-p5-Switch/pkg-comment
echo x - p5-Switch/distinfo
sed 's/^X//' >p5-Switch/distinfo << 'END-of-p5-Switch/distinfo'
XMD5 (Switch-2.02.tar.gz) = 91e1d2dfb0b78e7a8ab1451f685fb94b
END-of-p5-Switch/distinfo
echo x - p5-Switch/Makefile
sed 's/^X//' >p5-Switch/Makefile << 'END-of-p5-Switch/Makefile'
X# New ports collection makefile for:	lang/p5-Switch
X# Date created:				26 April 2001
X# Whom:					Anton Berezin <tobez@tobez.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Switch
XPORTVERSION=	2.02
XCATEGORIES=	lang perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../by-authors/id/DCONWAY
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	tobez@tobez.org
X
XBUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter
XRUN_DEPENDS=    ${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Switch.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-Switch/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?20010426105346.755DA546B>