pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Class-Singleton Initial import of p5-Class-Si...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db5b9b147d7b
branches:  trunk
changeset: 488248:db5b9b147d7b
user:      cube <cube%pkgsrc.org@localhost>
date:      Wed Jan 26 14:43:14 2005 +0000

description:
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:

 devel/p5-Class-Singleton/DESCR    |   7 +++++++
 devel/p5-Class-Singleton/Makefile |  16 ++++++++++++++++
 devel/p5-Class-Singleton/PLIST    |   1 +
 devel/p5-Class-Singleton/distinfo |   4 ++++
 4 files changed, 28 insertions(+), 0 deletions(-)

diffs (44 lines):

diff -r 22de262641aa -r db5b9b147d7b devel/p5-Class-Singleton/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Class-Singleton/DESCR    Wed Jan 26 14:43:14 2005 +0000
@@ -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 -r 22de262641aa -r db5b9b147d7b devel/p5-Class-Singleton/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Class-Singleton/Makefile Wed Jan 26 14:43:14 2005 +0000
@@ -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@localhost
+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 -r 22de262641aa -r db5b9b147d7b devel/p5-Class-Singleton/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Class-Singleton/PLIST    Wed Jan 26 14:43:14 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/26 14:43:14 cube Exp $
diff -r 22de262641aa -r db5b9b147d7b devel/p5-Class-Singleton/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Class-Singleton/distinfo Wed Jan 26 14:43:14 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index