From owner-freebsd-ports Tue Dec 18 1:50:19 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 E9C8737B41D for ; Tue, 18 Dec 2001 01:50:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBI9o0e00230; Tue, 18 Dec 2001 01:50:00 -0800 (PST) (envelope-from gnats) Received: from darkone.comintern.net (darkone.comintern.net [213.148.1.98]) by hub.freebsd.org (Postfix) with ESMTP id 7A4A537B41B for ; Tue, 18 Dec 2001 01:46:32 -0800 (PST) Received: from 3wgraphics.com (ppp-9-088.comintern.ru [213.148.9.88]) by darkone.comintern.net (8.11.6/8.11.6) with ESMTP id fBHGCFT365177 for ; Mon, 17 Dec 2001 19:12:16 +0300 (MSD) Received: from root by 3wgraphics.com with local (Exim 3.33 #1) id 16G0Ht-0006gV-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 17 Dec 2001 19:06:45 +0300 Message-Id: Date: Mon, 17 Dec 2001 19:06:45 +0300 From: skv@protey.ru Reply-To: skv@protey.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/32965: New port: p5-Class-BlackHole-0.03 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32965 >Category: ports >Synopsis: New port: p5-Class-BlackHole-0.03 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 18 01:50:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Sergey Skvortsov >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: >Description: New port: p5-Class-BlackHole-0.03 Base class to treat unhandled method calls as no-ops >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-Class-BlackHole # p5-Class-BlackHole/Makefile # p5-Class-BlackHole/pkg-comment # p5-Class-BlackHole/pkg-descr # p5-Class-BlackHole/pkg-plist # p5-Class-BlackHole/distinfo # echo c - p5-Class-BlackHole mkdir -p p5-Class-BlackHole > /dev/null 2>&1 echo x - p5-Class-BlackHole/Makefile sed 's/^X//' >p5-Class-BlackHole/Makefile << 'END-of-p5-Class-BlackHole/Makefile' X# New ports collection makefile for: Class-BlackHole X# Date created: 17 Dec 2001 X# Whom: Sergey Skvortsov X# X# $FreeBSD$ X# X XPORTNAME= Class-BlackHole XPORTVERSION= 0.03 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Class XPKGNAMEPREFIX= p5- X XMAINTAINER= skv@protey.ru X XPERL_CONFIGURE= yes X XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} XMAN3= Class::BlackHole.3 X X.include END-of-p5-Class-BlackHole/Makefile echo x - p5-Class-BlackHole/pkg-comment sed 's/^X//' >p5-Class-BlackHole/pkg-comment << 'END-of-p5-Class-BlackHole/pkg-comment' XBase class to treat unhandled method calls as no-ops X END-of-p5-Class-BlackHole/pkg-comment echo x - p5-Class-BlackHole/pkg-descr sed 's/^X//' >p5-Class-BlackHole/pkg-descr << 'END-of-p5-Class-BlackHole/pkg-descr' XNormally, if you try to call a method that there's no handler for, you Xget an error: X X Can't locate object method "flork" via package "X". X XBut for classes that inherit from Class::BlackHole, unhandled methods Xbecome just no-operations. X XWWW: http://search.cpan.org/search?dist=Class-BlackHole X X-- Sergey Skvortsov Xskv@protey.ru END-of-p5-Class-BlackHole/pkg-descr echo x - p5-Class-BlackHole/pkg-plist sed 's/^X//' >p5-Class-BlackHole/pkg-plist << 'END-of-p5-Class-BlackHole/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/BlackHole/.packlist Xlib/perl5/site_perl/%%PERL_VER%%/Class/BlackHole.pm X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/BlackHole X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true END-of-p5-Class-BlackHole/pkg-plist echo x - p5-Class-BlackHole/distinfo sed 's/^X//' >p5-Class-BlackHole/distinfo << 'END-of-p5-Class-BlackHole/distinfo' XMD5 (Class-BlackHole-0.03.tar.gz) = 568ca5e8a9520d0ae2453c3ee9a49d5f END-of-p5-Class-BlackHole/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message