summaryrefslogtreecommitdiff
path: root/devel/p5-Class-Container
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2003-08-30 18:56:46 +0000
committerhe <he@pkgsrc.org>2003-08-30 18:56:46 +0000
commita17082fe1f02d4ce163f64c53cd06fca08f118b0 (patch)
tree3a654574ee75a73fb3307cba07ae793003de8dc5 /devel/p5-Class-Container
parent46a91d2174ffc5c1893950183b64abbb6e2dd5f7 (diff)
downloadpkgsrc-a17082fe1f02d4ce163f64c53cd06fca08f118b0.tar.gz
Import p5-Class-Container version 0.10.
This class facilitates building frameworks of several classes that inter-operate. It was first designed and built for "HTML::Mason", in which the Compiler, Lexer, Interpreter, Resolver, Component, Buffer, and several other objects must create each other transparently, passing the appropriate parameters to the right class, possibly substituting other subclasses for any of these objects.
Diffstat (limited to 'devel/p5-Class-Container')
-rw-r--r--devel/p5-Class-Container/DESCR20
-rw-r--r--devel/p5-Class-Container/Makefile19
-rw-r--r--devel/p5-Class-Container/PLIST1
-rw-r--r--devel/p5-Class-Container/distinfo4
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/p5-Class-Container/DESCR b/devel/p5-Class-Container/DESCR
new file mode 100644
index 00000000000..aaa3a26be4d
--- /dev/null
+++ b/devel/p5-Class-Container/DESCR
@@ -0,0 +1,20 @@
+This class facilitates building frameworks of several classes that
+inter-operate. It was first designed and built for "HTML::Mason", in which
+the Compiler, Lexer, Interpreter, Resolver, Component, Buffer, and several
+other objects must create each other transparently, passing the appropriate
+parameters to the right class, possibly substituting other subclasses for
+any of these objects.
+
+The main features of "Class::Container" are:
+
+ * Explicit declaration of containment relationships (aggregation, factory
+ creation, etc.)
+
+ * Declaration of constructor parameters accepted by each member in a class
+ framework
+
+ * Transparent passing of constructor parameters to the class that needs
+ them
+
+ * Ability to create one (automatic) or many (manual) contained objects
+ automatically and transparently
diff --git a/devel/p5-Class-Container/Makefile b/devel/p5-Class-Container/Makefile
new file mode 100644
index 00000000000..7ecd574c632
--- /dev/null
+++ b/devel/p5-Class-Container/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/30 18:56:46 he Exp $
+
+DISTNAME= Class-Container-0.10
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5ccr
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/author/KWILLIAMS/Class-Container-0.10/
+COMMENT= Glues object frameworks together transparently
+
+DEPENDS+= p5-Params-Validate>=0.23:../../devel/p5-Params-Validate
+
+USE_BUILDLINK2= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Class/Container/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Class-Container/PLIST b/devel/p5-Class-Container/PLIST
new file mode 100644
index 00000000000..df7d2e18fcb
--- /dev/null
+++ b/devel/p5-Class-Container/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/30 18:56:46 he Exp $
diff --git a/devel/p5-Class-Container/distinfo b/devel/p5-Class-Container/distinfo
new file mode 100644
index 00000000000..7bd6678500a
--- /dev/null
+++ b/devel/p5-Class-Container/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/30 18:56:46 he Exp $
+
+SHA1 (Class-Container-0.10.tar.gz) = 85926d193097a9f53fce7edf5185d246dd5edf20
+Size (Class-Container-0.10.tar.gz) = 18366 bytes