summaryrefslogtreecommitdiff
path: root/devel/p5-Class-Adapter
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2007-08-14 00:09:45 +0000
committerseb <seb@pkgsrc.org>2007-08-14 00:09:45 +0000
commit8098bfbf8f4c1928a172d2f28b8fc0a60c66785a (patch)
tree921eccdb9884f821871b5839952f0efd88e7c297 /devel/p5-Class-Adapter
parentd6805155ae39edb6d2e105309da8d304acf77c1e (diff)
downloadpkgsrc-8098bfbf8f4c1928a172d2f28b8fc0a60c66785a.tar.gz
Initial import of p5-Class-Adapter version 1.03 into The NetBSD
Packages Collection. The Perl 5 module Class::Adapter is intended as an abstract base class for creating any sort of class or object that follows the Adapter pattern. An Adapter in this Perl sense of the term is when a class is created to achieve by composition (objects containing other object) something that can't be achieved by inheritance (sub-classing).
Diffstat (limited to 'devel/p5-Class-Adapter')
-rw-r--r--devel/p5-Class-Adapter/DESCR6
-rw-r--r--devel/p5-Class-Adapter/Makefile20
-rw-r--r--devel/p5-Class-Adapter/PLIST1
-rw-r--r--devel/p5-Class-Adapter/distinfo5
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/p5-Class-Adapter/DESCR b/devel/p5-Class-Adapter/DESCR
new file mode 100644
index 00000000000..5074543253a
--- /dev/null
+++ b/devel/p5-Class-Adapter/DESCR
@@ -0,0 +1,6 @@
+The Perl 5 module Class::Adapter is intended as an abstract base
+class for creating any sort of class or object that follows the
+Adapter pattern. An Adapter in this Perl sense of the term is when
+a class is created to achieve by composition (objects containing
+other object) something that can't be achieved by inheritance
+(sub-classing).
diff --git a/devel/p5-Class-Adapter/Makefile b/devel/p5-Class-Adapter/Makefile
new file mode 100644
index 00000000000..77dff1285c3
--- /dev/null
+++ b/devel/p5-Class-Adapter/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/08/14 00:09:45 seb Exp $
+#
+
+DISTNAME= Class-Adapter-1.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Class-Adapter/
+COMMENT= Perl 5 module implementing the adapter design pattern
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Class/Adapter/.packlist
+
+post-extract:
+ chmod -x ${WRKSRC}/lib/Class/*.pm ${WRKSRC}/lib/Class/Adapter/*.pm
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Class-Adapter/PLIST b/devel/p5-Class-Adapter/PLIST
new file mode 100644
index 00000000000..34a52feafe0
--- /dev/null
+++ b/devel/p5-Class-Adapter/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/08/14 00:09:45 seb Exp $
diff --git a/devel/p5-Class-Adapter/distinfo b/devel/p5-Class-Adapter/distinfo
new file mode 100644
index 00000000000..aad5fa78b95
--- /dev/null
+++ b/devel/p5-Class-Adapter/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/08/14 00:09:45 seb Exp $
+
+SHA1 (Class-Adapter-1.03.tar.gz) = 4eea141273b807034f765c8acadc7d9b2bbd51a7
+RMD160 (Class-Adapter-1.03.tar.gz) = b24f392c13072632cc693c593d8fc8ad565edefd
+Size (Class-Adapter-1.03.tar.gz) = 26694 bytes