From owner-freebsd-ports Thu Apr 26 4: 0:13 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3F1CB37B423 for ; Thu, 26 Apr 2001 04:00:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3QB07619262; Thu, 26 Apr 2001 04:00:07 -0700 (PDT) (envelope-from gnats) Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id 1B4D037B423 for ; Thu, 26 Apr 2001 03:54:00 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 755DA546B; Thu, 26 Apr 2001 12:53:46 +0200 (CEST) Message-Id: <20010426105346.755DA546B@heechee.tobez.org> Date: Thu, 26 Apr 2001 12:53:46 +0200 (CEST) From: tobez@tobez.org Reply-To: tobez@tobez.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/26875: New port: lang/p5-Switch (Switch - A switch statement for Perl) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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 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 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