diff options
author | rafan <rafan@FreeBSD.org> | 2006-08-15 00:16:22 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-08-15 00:16:22 +0800 |
commit | 998ab9a1b91cafe327b4f2fb4e0b5eee1f55c115 (patch) | |
tree | 13a96c76e7e3f851653f97e1355b3f245a9d8aea | |
parent | f7dff47ee7289e80ab0445a033bdefbba893aca4 (diff) | |
download | freebsd-ports-gnome-998ab9a1b91cafe327b4f2fb4e0b5eee1f55c115.tar.gz freebsd-ports-gnome-998ab9a1b91cafe327b4f2fb4e0b5eee1f55c115.tar.zst freebsd-ports-gnome-998ab9a1b91cafe327b4f2fb4e0b5eee1f55c115.zip |
Add p5-Class-Adapter 1.02, perl implementation of the "Adapter" Design
Pattern.
PR: ports/101959
Submitted by: Tsung-Han Yeh <snowfly at yuntech.edu.tw>
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Class-Adapter/Makefile | 34 | ||||
-rw-r--r-- | devel/p5-Class-Adapter/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Class-Adapter/pkg-descr | 4 | ||||
-rw-r--r-- | devel/p5-Class-Adapter/pkg-plist | 8 |
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index c35d6ca06495..1ad7835d6a8b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -805,6 +805,7 @@ SUBDIR += p5-Class-Accessor-Chained SUBDIR += p5-Class-Accessor-Lvalue SUBDIR += p5-Class-Accessor-Named + SUBDIR += p5-Class-Adapter SUBDIR += p5-Class-AlzaboWrapper SUBDIR += p5-Class-ArrayObjects SUBDIR += p5-Class-AutoClass diff --git a/devel/p5-Class-Adapter/Makefile b/devel/p5-Class-Adapter/Makefile new file mode 100644 index 000000000000..7f9262083922 --- /dev/null +++ b/devel/p5-Class-Adapter/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: p5-Class-Adapter +# Date created: 2006-08-13 +# Whom: Tsung-Han Yeh <snowfly@yuntech.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= Class-Adapter +PORTVERSION= 1.02 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Class +PKGNAMEPREFIX= p5- + +MAINTAINER= snowfly@yuntech.edu.tw +COMMENT= Perl implementation of the "Adapter" Design Pattern + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \ + ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Class::Adapter.3 \ + Class::Adapter::Builder.3 \ + Class::Adapter::Clear.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires at least Perl 5.6 due to dependencies. Please install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Class-Adapter/distinfo b/devel/p5-Class-Adapter/distinfo new file mode 100644 index 000000000000..5127d13beb3b --- /dev/null +++ b/devel/p5-Class-Adapter/distinfo @@ -0,0 +1,3 @@ +MD5 (Class-Adapter-1.02.tar.gz) = 31dcfc17fb7c619820edf5ae278febc6 +SHA256 (Class-Adapter-1.02.tar.gz) = 6743b1f7115ac5c8584622c94094c07947295363e69fcb70b99f5a3ded3b1d64 +SIZE (Class-Adapter-1.02.tar.gz) = 24335 diff --git a/devel/p5-Class-Adapter/pkg-descr b/devel/p5-Class-Adapter/pkg-descr new file mode 100644 index 000000000000..00d8103a57ab --- /dev/null +++ b/devel/p5-Class-Adapter/pkg-descr @@ -0,0 +1,4 @@ +The Class::Adapter class is intended as an abstract base class for creating +any sort of class or object that follows the Adapter pattern. + +WWW: http://search.cpan.org/dist/Class-Adapter/ diff --git a/devel/p5-Class-Adapter/pkg-plist b/devel/p5-Class-Adapter/pkg-plist new file mode 100644 index 000000000000..b83960f84ebc --- /dev/null +++ b/devel/p5-Class-Adapter/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_PERL%%/Class/Adapter.pm +%%SITE_PERL%%/Class/Adapter/Builder.pm +%%SITE_PERL%%/Class/Adapter/Clear.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Adapter/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Adapter +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class +@dirrmtry %%SITE_PERL%%/Class/Adapter +@dirrmtry %%SITE_PERL%%/Class |