1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add p5-Class-Base 0.03, useful base class for deriving other modules.

PR:		59622
Submitted by:	Lars Thegler <lars@thegler.dk>
This commit is contained in:
Mathieu Arnold 2003-12-04 16:00:52 +00:00
parent 12a1b99c1f
commit 6fb41eed23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95020
5 changed files with 41 additions and 0 deletions

View File

@ -528,6 +528,7 @@
SUBDIR += p5-Class-Accessor
SUBDIR += p5-Class-ArrayObjects
SUBDIR += p5-Class-Autouse
SUBDIR += p5-Class-Base
SUBDIR += p5-Class-BlackHole
SUBDIR += p5-Class-Container
SUBDIR += p5-Class-Contract

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (Class-Base-0.03.tar.gz) = 213f52c9747d2ea861c92bcd02842353

View File

@ -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/

View File

@ -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