aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-18 03:23:25 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-18 03:23:25 +0000
commitf9f2f05b97a166b99dec69abb262008d863b269c (patch)
treeac0a4f1c8da9eab2ee639b414df251d09fa8bae2
parentacaf2d28e6f91234f646d308a56e33255c733801 (diff)
downloadports-f9f2f05b97a166b99dec69abb262008d863b269c.tar.gz
ports-f9f2f05b97a166b99dec69abb262008d863b269c.zip
Notes
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-Delegation/Makefile29
-rw-r--r--devel/p5-Class-Delegation/distinfo1
-rw-r--r--devel/p5-Class-Delegation/pkg-comment1
-rw-r--r--devel/p5-Class-Delegation/pkg-descr13
-rw-r--r--devel/p5-Class-Delegation/pkg-plist12
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