Date: Mon, 17 Dec 2001 19:06:45 +0300 From: skv@protey.ru To: FreeBSD-gnats-submit@freebsd.org Subject: ports/32965: New port: p5-Class-BlackHole-0.03 Message-ID: <E16G0Ht-0006gV-00@3wgraphics.com>
next in thread | raw e-mail | index | archive | help
>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: <Organization of PR author (multiple lines)> >Environment: <Relevant environment information (multiple lines)> >Description: New port: p5-Class-BlackHole-0.03 Base class to treat unhandled method calls as no-ops >How-To-Repeat: <Code/input/activities to reproduce the problem (multiple lines)> >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 <skv@protey.ru> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16G0Ht-0006gV-00>