From a34e16980220ff37bf1df45f7d32c25fd75c0021 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Thu, 31 Jul 2014 10:04:59 +0000 Subject: [PATCH] - Add LICENSE - Fix *_DEPENDS: Test::More 0.44+ is already in all supported Perl releases - Bump PORTREVISION for dependency change - Sort PLIST - Reformat pkg-descr --- devel/p5-Test-Singleton/Makefile | 10 ++++++---- devel/p5-Test-Singleton/pkg-descr | 12 ++++++------ devel/p5-Test-Singleton/pkg-plist | 4 ++-- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/devel/p5-Test-Singleton/Makefile b/devel/p5-Test-Singleton/Makefile index 309ba35a93bc..8c2ce3d154a7 100644 --- a/devel/p5-Test-Singleton/Makefile +++ b/devel/p5-Test-Singleton/Makefile @@ -3,6 +3,7 @@ PORTNAME= Test-Singleton PORTVERSION= 1.03 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:TPG @@ -11,11 +12,12 @@ PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Test for Singleton classes -RUN_DEPENDS= p5-Class-Singleton>=0:${PORTSDIR}/devel/p5-Class-Singleton \ - p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple -BUILD_DEPENDS:= ${RUN_DEPENDS} +LICENSE= GPLv2 + +BUILD_DEPENDS= p5-Class-Singleton>=0:${PORTSDIR}/devel/p5-Class-Singleton +RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= perl5 USE_PERL5= configure +USES= perl5 .include diff --git a/devel/p5-Test-Singleton/pkg-descr b/devel/p5-Test-Singleton/pkg-descr index 213814f0cb94..aba554adc462 100644 --- a/devel/p5-Test-Singleton/pkg-descr +++ b/devel/p5-Test-Singleton/pkg-descr @@ -1,11 +1,11 @@ ** If you are unfamiliar with testing read Test::Tutorial first! ** -This is a simple, 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. +This is a simple, 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. +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/ diff --git a/devel/p5-Test-Singleton/pkg-plist b/devel/p5-Test-Singleton/pkg-plist index d11e05725344..def5c79b6841 100644 --- a/devel/p5-Test-Singleton/pkg-plist +++ b/devel/p5-Test-Singleton/pkg-plist @@ -1,6 +1,6 @@ -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Singleton/.packlist %%SITE_PERL%%/Test/Singleton.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Singleton/.packlist %%PERL5_MAN3%%/Test::Singleton.3.gz -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Singleton +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Singleton @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test @dirrmtry %%SITE_PERL%%/Test