summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2005-01-26 14:43:14 +0000
committercube <cube@pkgsrc.org>2005-01-26 14:43:14 +0000
commit246b50d21b617a3a6f44b765408a8d101955ce26 (patch)
tree04f720a6fdb4f38666b76d156f725ab47f4069de /devel
parent0cb6786d69fe526480dad2432d79743c5cc03a48 (diff)
downloadpkgsrc-246b50d21b617a3a6f44b765408a8d101955ce26.tar.gz
Initial import of p5-Class-Singleton, version 1.03, into the NetBSD
Packages Collection. A Singleton describes an object class that can have only one instance in any system. An example of a Singleton might be a print spooler or system registry. This module implements a Singleton class from which other classes can be derived. By itself, the Class::Singleton module does very little other than manage the instantiation of a single object. In deriving a class from Class::Singleton, your module will inherit the Singleton instantiation method and can implement whatever specific functionality is required.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Class-Singleton/DESCR7
-rw-r--r--devel/p5-Class-Singleton/Makefile16
-rw-r--r--devel/p5-Class-Singleton/PLIST1
-rw-r--r--devel/p5-Class-Singleton/distinfo4
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/p5-Class-Singleton/DESCR b/devel/p5-Class-Singleton/DESCR
new file mode 100644
index 00000000000..123b0c38708
--- /dev/null
+++ b/devel/p5-Class-Singleton/DESCR
@@ -0,0 +1,7 @@
+A Singleton describes an object class that can have only one instance in any
+system. An example of a Singleton might be a print spooler or system registry.
+This module implements a Singleton class from which other classes can be
+derived. By itself, the Class::Singleton module does very little other than
+manage the instantiation of a single object. In deriving a class from
+Class::Singleton, your module will inherit the Singleton instantiation method
+and can implement whatever specific functionality is required.
diff --git a/devel/p5-Class-Singleton/Makefile b/devel/p5-Class-Singleton/Makefile
new file mode 100644
index 00000000000..b8122ec7cbb
--- /dev/null
+++ b/devel/p5-Class-Singleton/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/26 14:43:14 cube Exp $
+
+DISTNAME= Class-Singleton-1.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/}
+
+MAINTAINER= cube@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Class-Singleton/
+COMMENT= Perl module to implement Singleton classes
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Class/Singleton/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Class-Singleton/PLIST b/devel/p5-Class-Singleton/PLIST
new file mode 100644
index 00000000000..b2d7b7b15df
--- /dev/null
+++ b/devel/p5-Class-Singleton/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/26 14:43:14 cube Exp $
diff --git a/devel/p5-Class-Singleton/distinfo b/devel/p5-Class-Singleton/distinfo
new file mode 100644
index 00000000000..d94bbd132e0
--- /dev/null
+++ b/devel/p5-Class-Singleton/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/26 14:43:14 cube Exp $
+
+SHA1 (Class-Singleton-1.03.tar.gz) = 38c3e0619788212bdd3d49e9592e0fa4c6f6a5d1
+Size (Class-Singleton-1.03.tar.gz) = 7136 bytes