mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
Add p5-Test-Singleton 1.03, test for Singleton classes.
PR: ports/100370 Submitted by: Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
parent
1a836eaca1
commit
eb961371c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168032
5 changed files with 47 additions and 0 deletions
|
@ -1337,6 +1337,7 @@
|
|||
SUBDIR += p5-Test-RandomResults
|
||||
SUBDIR += p5-Test-Reporter
|
||||
SUBDIR += p5-Test-Simple
|
||||
SUBDIR += p5-Test-Singleton
|
||||
SUBDIR += p5-Test-Strict
|
||||
SUBDIR += p5-Test-SubCalls
|
||||
SUBDIR += p5-Test-Tester
|
||||
|
|
26
devel/p5-Test-Singleton/Makefile
Normal file
26
devel/p5-Test-Singleton/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# New ports collection makefile for: p5-Test-Singleton
|
||||
# Date created: 2006-07-15
|
||||
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Test-Singleton
|
||||
PORTVERSION= 1.03
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= ../../authors/id/T/TP/TPG
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= gslin@gslin.org
|
||||
COMMENT= Test for Singleton classes
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/Class/Singleton.pm:${PORTSDIR}/devel/p5-Class-Singleton \
|
||||
${SITE_PERL}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Simple
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Test::Singleton.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-Test-Singleton/distinfo
Normal file
3
devel/p5-Test-Singleton/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (Test-Singleton-1.03.tar.gz) = 3732ac90e6ceab5ab6d417077b38cc13
|
||||
SHA256 (Test-Singleton-1.03.tar.gz) = c2d8c17a065e58af93b55bdfe86dcbe418b906f182d74716ccaf89a4e4b8f69f
|
||||
SIZE (Test-Singleton-1.03.tar.gz) = 25572
|
11
devel/p5-Test-Singleton/pkg-descr
Normal file
11
devel/p5-Test-Singleton/pkg-descr
Normal file
|
@ -0,0 +1,11 @@
|
|||
** If you are unfamiliar with testing read Test::Tutorial first! **
|
||||
|
||||
This is asimple, basic module for checking whether a class is a
|
||||
Singleton. 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, or any kind of central dispatcher.
|
||||
|
||||
For a description and discussion of the Singleton class, see "Design
|
||||
Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0-201-63361-2.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Test-Singleton/
|
6
devel/p5-Test-Singleton/pkg-plist
Normal file
6
devel/p5-Test-Singleton/pkg-plist
Normal file
|
@ -0,0 +1,6 @@
|
|||
@comment $FreeBSD$
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Singleton/.packlist
|
||||
%%SITE_PERL%%/Test/Singleton.pm
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Singleton
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
|
||||
@dirrmtry %%SITE_PERL%%/Test
|
Loading…
Add table
Reference in a new issue