singleton implementation in perl, needed by the DateTime classes.
This commit is contained in:
parent
be6b9615e1
commit
51badc2f91
20
devel/p5-Class-Singleton/Makefile
Normal file
20
devel/p5-Class-Singleton/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/04/18 18:48:33 espie Exp $
|
||||
|
||||
COMMENT= "perl singleton pattern"
|
||||
|
||||
DISTNAME= Class-Singleton-1.03
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= devel perl5
|
||||
PKG_ARCH= *
|
||||
|
||||
# Artistic
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/}
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
.include <bsd.port.mk>
|
4
devel/p5-Class-Singleton/distinfo
Normal file
4
devel/p5-Class-Singleton/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (Class-Singleton-1.03.tar.gz) = 80202a57411cb3e939fec327a87564bf
|
||||
RMD160 (Class-Singleton-1.03.tar.gz) = 6ab4be9b84b7bcfac56874895ed677d1b468cccc
|
||||
SHA1 (Class-Singleton-1.03.tar.gz) = 38c3e0619788212bdd3d49e9592e0fa4c6f6a5d1
|
||||
SIZE (Class-Singleton-1.03.tar.gz) = 7136
|
11
devel/p5-Class-Singleton/pkg/DESCR
Normal file
11
devel/p5-Class-Singleton/pkg/DESCR
Normal file
@ -0,0 +1,11 @@
|
||||
A Singleton describes an object class that can have only one instance
|
||||
in any system. 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.
|
||||
|
||||
For a description and discussion of the Singleton class, see
|
||||
"Design Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0-
|
||||
201-63361-2.
|
4
devel/p5-Class-Singleton/pkg/PLIST
Normal file
4
devel/p5-Class-Singleton/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/04/18 18:48:33 espie Exp $
|
||||
${P5SITE}/Class/
|
||||
${P5SITE}/Class/Singleton.pm
|
||||
@man man/man3p/Class::Singleton.3p
|
Loading…
Reference in New Issue
Block a user