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.
This commit is contained in:
parent
0cb6786d69
commit
246b50d21b
4 changed files with 28 additions and 0 deletions
7
devel/p5-Class-Singleton/DESCR
Normal file
7
devel/p5-Class-Singleton/DESCR
Normal file
|
@ -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.
|
16
devel/p5-Class-Singleton/Makefile
Normal file
16
devel/p5-Class-Singleton/Makefile
Normal file
|
@ -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"
|
1
devel/p5-Class-Singleton/PLIST
Normal file
1
devel/p5-Class-Singleton/PLIST
Normal file
|
@ -0,0 +1 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/26 14:43:14 cube Exp $
|
4
devel/p5-Class-Singleton/distinfo
Normal file
4
devel/p5-Class-Singleton/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue