diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-11-18 11:23:25 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-11-18 11:23:25 +0800 |
commit | da08efff5be71959fce5081d1d035ad8a47e051b (patch) | |
tree | 9fce14194bc3c47353a802b13bbced5782990d11 /devel | |
parent | 3d431426cb1c3ea164b5950149c340143e0d5b00 (diff) | |
download | freebsd-ports-gnome-da08efff5be71959fce5081d1d035ad8a47e051b.tar.gz freebsd-ports-gnome-da08efff5be71959fce5081d1d035ad8a47e051b.tar.zst freebsd-ports-gnome-da08efff5be71959fce5081d1d035ad8a47e051b.zip |
add p5-Class-Delegation
Object-oriented delegation
PR: 31783
Submitted by: Sergey Skvortsov <skv@protey.ru>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Class-Delegation/Makefile | 29 | ||||
-rw-r--r-- | devel/p5-Class-Delegation/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Class-Delegation/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-Class-Delegation/pkg-descr | 13 | ||||
-rw-r--r-- | devel/p5-Class-Delegation/pkg-plist | 12 |
6 files changed, 57 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index ebad72a86957..98977c3adb60 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -316,6 +316,7 @@ SUBDIR += p5-Cdk SUBDIR += p5-Class-Contract SUBDIR += p5-Class-Date + SUBDIR += p5-Class-Delegation SUBDIR += p5-Class-Loader SUBDIR += p5-Class-MethodMaker SUBDIR += p5-Class-Singleton diff --git a/devel/p5-Class-Delegation/Makefile b/devel/p5-Class-Delegation/Makefile new file mode 100644 index 000000000000..b21422310b27 --- /dev/null +++ b/devel/p5-Class-Delegation/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: Class::Delegation +# Date created: 5 Nov 2001 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= Class-Delegation +PORTVERSION= 1.00 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Class +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@protey.ru + +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Class::Delegation.3 + +post-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/examples/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/demo/* \ + ${PREFIX}/share/examples/${PORTNAME} +.endif + +.include <bsd.port.mk> diff --git a/devel/p5-Class-Delegation/distinfo b/devel/p5-Class-Delegation/distinfo new file mode 100644 index 000000000000..18f2d3c765bc --- /dev/null +++ b/devel/p5-Class-Delegation/distinfo @@ -0,0 +1 @@ +MD5 (Class-Delegation-1.00.tar.gz) = 9102ebee955d3bbd05d02f6821b1a3af diff --git a/devel/p5-Class-Delegation/pkg-comment b/devel/p5-Class-Delegation/pkg-comment new file mode 100644 index 000000000000..5811749b39fc --- /dev/null +++ b/devel/p5-Class-Delegation/pkg-comment @@ -0,0 +1 @@ +Object-oriented delegation diff --git a/devel/p5-Class-Delegation/pkg-descr b/devel/p5-Class-Delegation/pkg-descr new file mode 100644 index 000000000000..8fe8ee657ffd --- /dev/null +++ b/devel/p5-Class-Delegation/pkg-descr @@ -0,0 +1,13 @@ +The Class::Delegation module simplifies the creation of delegation-based +class hierarchies, allowing a method to be redispatched: + * to a single nominated attribute, + * to a collection of nominated attributes in parallel, or + * to any attribute that can handle the message. + +These three delegation mechanisms can be specified for: + * a single method + * a set of nominated methods collectively + * any as-yet-undelegated methods + * all methods, delegated or not. + +WWW: http://search.cpan.org/search?dist=Class-Delegation diff --git a/devel/p5-Class-Delegation/pkg-plist b/devel/p5-Class-Delegation/pkg-plist new file mode 100644 index 000000000000..cf44e84730d1 --- /dev/null +++ b/devel/p5-Class-Delegation/pkg-plist @@ -0,0 +1,12 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Delegation/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Class/Delegation.pm +%%PORTDOCS%%share/examples/Class-Delegation/demo_adapt_interface.pl +%%PORTDOCS%%share/examples/Class-Delegation/demo_change_semantics.pl +%%PORTDOCS%%share/examples/Class-Delegation/demo_facade.pl +%%PORTDOCS%%share/examples/Class-Delegation/demo_handle.pl +%%PORTDOCS%%share/examples/Class-Delegation/demo_inheritance.pl +%%PORTDOCS%%share/examples/Class-Delegation/demo_pseudo.pl +%%PORTDOCS%%@dirrm share/examples/Class-Delegation +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Delegation +@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 |