aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-WhiteHole
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2002-05-27 16:10:43 +0800
committerskv <skv@FreeBSD.org>2002-05-27 16:10:43 +0800
commite246d8f56088c5e9ea9f8feb419ac2af4608d2f1 (patch)
treec4777b00de74baa6b1f2585c6998d8f13766a3e3 /devel/p5-Class-WhiteHole
parenta5b872d6d70e8b0b4088793b5d517fa711c35b99 (diff)
downloadfreebsd-ports-gnome-e246d8f56088c5e9ea9f8feb419ac2af4608d2f1.tar.gz
freebsd-ports-gnome-e246d8f56088c5e9ea9f8feb419ac2af4608d2f1.tar.zst
freebsd-ports-gnome-e246d8f56088c5e9ea9f8feb419ac2af4608d2f1.zip
Add p5-Class-WhiteHole 0.03,
base class to treat unhandled method calls as errors. PR: 32967 Submitted by: Sergey Skvortsov <skv@FreeBSD.org>
Diffstat (limited to 'devel/p5-Class-WhiteHole')
-rw-r--r--devel/p5-Class-WhiteHole/Makefile22
-rw-r--r--devel/p5-Class-WhiteHole/distinfo1
-rw-r--r--devel/p5-Class-WhiteHole/pkg-comment1
-rw-r--r--devel/p5-Class-WhiteHole/pkg-descr13
-rw-r--r--devel/p5-Class-WhiteHole/pkg-plist5
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/p5-Class-WhiteHole/Makefile b/devel/p5-Class-WhiteHole/Makefile
new file mode 100644
index 000000000000..5902d0146934
--- /dev/null
+++ b/devel/p5-Class-WhiteHole/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: Class-WhiteHole
+# Date created: 17 Dec 2001
+# Whom: Sergey Skvortsov <skv@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-WhiteHole
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Class::WhiteHole.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Class-WhiteHole/distinfo b/devel/p5-Class-WhiteHole/distinfo
new file mode 100644
index 000000000000..b89234e9c47a
--- /dev/null
+++ b/devel/p5-Class-WhiteHole/distinfo
@@ -0,0 +1 @@
+MD5 (Class-WhiteHole-0.03.tar.gz) = c14e55c571adbf1cd181aae61d99ab9e
diff --git a/devel/p5-Class-WhiteHole/pkg-comment b/devel/p5-Class-WhiteHole/pkg-comment
new file mode 100644
index 000000000000..add5501b1819
--- /dev/null
+++ b/devel/p5-Class-WhiteHole/pkg-comment
@@ -0,0 +1 @@
+Base class to treat unhandled method calls as errors
diff --git a/devel/p5-Class-WhiteHole/pkg-descr b/devel/p5-Class-WhiteHole/pkg-descr
new file mode 100644
index 000000000000..e9758807a462
--- /dev/null
+++ b/devel/p5-Class-WhiteHole/pkg-descr
@@ -0,0 +1,13 @@
+Its possible to accidentally inherit an AUTOLOAD method. Often this
+will happen if a class somewhere in the chain uses AutoLoader or defines
+one of their own. This can lead to confusing error messages when method
+lookups fail.
+
+Sometimes you want to avoid this accidental inheritance. In that case,
+inherit from Class::WhiteHole. All unhandled methods will produce
+normal Perl error messages.
+
+WWW: http://search.cpan.org/search?dist=Class-WhiteHole
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/devel/p5-Class-WhiteHole/pkg-plist b/devel/p5-Class-WhiteHole/pkg-plist
new file mode 100644
index 000000000000..1477f7e49595
--- /dev/null
+++ b/devel/p5-Class-WhiteHole/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/WhiteHole/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Class/WhiteHole.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/WhiteHole
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true