Allows you to both load one or more modules, while setting up inheritance

from those modules at the same time. Mostly similar in effect to

    package Baz;
    BEGIN {
        require Foo;
        require Bar;
        push @ISA, qw(Foo Bar);
    }

WWW: http://search.cpan.org/dist/parent/
This commit is contained in:
Rong-En Fan 2007-10-24 08:51:10 +00:00
parent 8e8b0b5448
commit afb9442d16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201890
5 changed files with 40 additions and 0 deletions

View File

@ -1696,6 +1696,7 @@
SUBDIR += p5-mixin
SUBDIR += p5-mocked
SUBDIR += p5-orz
SUBDIR += p5-parent
SUBDIR += p5-prefork
SUBDIR += p5-reaper
SUBDIR += p5-rpm-build-perl

22
devel/p5-parent/Makefile Normal file
View File

@ -0,0 +1,22 @@
# New ports collection makefile for: parent
# Date created: 24 Oct 2007
# Whom: Rong-En Fan <rafan@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= parent
PORTVERSION= 0.219
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/C/CO/CORION
PKGNAMEPREFIX= p5-
MAINTAINER= rafan@FreeBSD.org
COMMENT= Establish an ISA relationship with base classes at compile time
PERL_CONFIGURE= yes
MAN3= parent.3
.include <bsd.port.mk>

3
devel/p5-parent/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (parent-0.219.tar.gz) = 3ec8a1f83a22493c367bfb6f08aead88
SHA256 (parent-0.219.tar.gz) = c60c1a648a49501f5fe7c06e4734255ffb7255211a0efb3616687e17bb834827
SIZE (parent-0.219.tar.gz) = 5113

11
devel/p5-parent/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
Allows you to both load one or more modules, while setting up inheritance
from those modules at the same time. Mostly similar in effect to
package Baz;
BEGIN {
require Foo;
require Bar;
push @ISA, qw(Foo Bar);
}
WWW: http://search.cpan.org/dist/parent/

View File

@ -0,0 +1,3 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/parent/.packlist
%%SITE_PERL%%/parent.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/parent