diff options
author | rafan <rafan@FreeBSD.org> | 2007-10-24 16:51:10 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-10-24 16:51:10 +0800 |
commit | 6e8fb6d1fe294110382fa3a5e4c534d9242da8cc (patch) | |
tree | ebf01cfc3d6c3b3998e844a27f9287c5167bb5f7 | |
parent | e63af8428d97af225e0ba4bf163cadfb3c912f33 (diff) | |
download | freebsd-ports-gnome-6e8fb6d1fe294110382fa3a5e4c534d9242da8cc.tar.gz freebsd-ports-gnome-6e8fb6d1fe294110382fa3a5e4c534d9242da8cc.tar.zst freebsd-ports-gnome-6e8fb6d1fe294110382fa3a5e4c534d9242da8cc.zip |
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/
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-parent/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-parent/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-parent/pkg-descr | 11 | ||||
-rw-r--r-- | devel/p5-parent/pkg-plist | 3 |
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 1a835aeaa585..5ea30fbf5abd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-parent/Makefile b/devel/p5-parent/Makefile new file mode 100644 index 000000000000..5d704dd81916 --- /dev/null +++ b/devel/p5-parent/Makefile @@ -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> diff --git a/devel/p5-parent/distinfo b/devel/p5-parent/distinfo new file mode 100644 index 000000000000..954f7cb5aa14 --- /dev/null +++ b/devel/p5-parent/distinfo @@ -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 diff --git a/devel/p5-parent/pkg-descr b/devel/p5-parent/pkg-descr new file mode 100644 index 000000000000..86d0cb60d052 --- /dev/null +++ b/devel/p5-parent/pkg-descr @@ -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/ diff --git a/devel/p5-parent/pkg-plist b/devel/p5-parent/pkg-plist new file mode 100644 index 000000000000..a223cf0653e6 --- /dev/null +++ b/devel/p5-parent/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/parent/.packlist +%%SITE_PERL%%/parent.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/parent |