aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-Base
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-12-05 00:00:52 +0800
committermat <mat@FreeBSD.org>2003-12-05 00:00:52 +0800
commit0959a927ffb54395e885e07fc666295f00f1ae06 (patch)
treee71a1cbff7e60cbfa1e238532bddcb45477be21a /devel/p5-Class-Base
parentbe221e03b0ee2477c83d618bc8f1f664f0cf7369 (diff)
downloadfreebsd-ports-gnome-0959a927ffb54395e885e07fc666295f00f1ae06.tar.gz
freebsd-ports-gnome-0959a927ffb54395e885e07fc666295f00f1ae06.tar.zst
freebsd-ports-gnome-0959a927ffb54395e885e07fc666295f00f1ae06.zip
Add p5-Class-Base 0.03, useful base class for deriving other modules.
PR: 59622 Submitted by: Lars Thegler <lars@thegler.dk>
Diffstat (limited to 'devel/p5-Class-Base')
-rw-r--r--devel/p5-Class-Base/Makefile29
-rw-r--r--devel/p5-Class-Base/distinfo1
-rw-r--r--devel/p5-Class-Base/pkg-descr5
-rw-r--r--devel/p5-Class-Base/pkg-plist5
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/p5-Class-Base/Makefile b/devel/p5-Class-Base/Makefile
new file mode 100644
index 000000000000..07afaf87562d
--- /dev/null
+++ b/devel/p5-Class-Base/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: p5-Class-Base
+# Date created: Nov 23 2003
+# Whom: Lars Thegler <lars@thegler.dk>
+#
+# $FreeBSD$
+
+PORTNAME= Class-Base
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lars@thegler.dk
+COMMENT= Useful base class for deriving other modules
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::Base.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+post-patch:
+ @${PERL} -i -pe 's/^our ([^\s;]+)/use vars qw($$1); $$1/;' \
+ ${WRKSRC}/lib/Class/Base.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Class-Base/distinfo b/devel/p5-Class-Base/distinfo
new file mode 100644
index 000000000000..77f24495f876
--- /dev/null
+++ b/devel/p5-Class-Base/distinfo
@@ -0,0 +1 @@
+MD5 (Class-Base-0.03.tar.gz) = 213f52c9747d2ea861c92bcd02842353
diff --git a/devel/p5-Class-Base/pkg-descr b/devel/p5-Class-Base/pkg-descr
new file mode 100644
index 000000000000..322205dc3871
--- /dev/null
+++ b/devel/p5-Class-Base/pkg-descr
@@ -0,0 +1,5 @@
+This module implements a simple base class from which other modules can be
+derived, thereby inheriting a number of useful methods such as "new()",
+"init()", "params()", "clone()", "error()" and "debug()".
+
+WWW: http://search.cpan.org/dist/Class-Base/
diff --git a/devel/p5-Class-Base/pkg-plist b/devel/p5-Class-Base/pkg-plist
new file mode 100644
index 000000000000..f057be5cdfb1
--- /dev/null
+++ b/devel/p5-Class-Base/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Class/Base.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Base/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Base
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true