diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-09-30 03:56:31 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-09-30 03:56:31 +0000 |
commit | e91e3bae7cec348c6b903047ce7eae5229855a3f (patch) | |
tree | 0212ddbd112f9b84e59dbfe238666b49e1428dbb /devel/p5-Object-Array | |
parent | - utilize USR_RC_SUBR for new start script (diff) |
Add p5-Object-Array 0.060, array references with accessors.
PR: ports/102681
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes:
svn path=/head/; revision=174121
Diffstat (limited to 'devel/p5-Object-Array')
-rw-r--r-- | devel/p5-Object-Array/Makefile | 35 | ||||
-rw-r--r-- | devel/p5-Object-Array/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Object-Array/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-Object-Array/pkg-plist | 10 |
4 files changed, 57 insertions, 0 deletions
diff --git a/devel/p5-Object-Array/Makefile b/devel/p5-Object-Array/Makefile new file mode 100644 index 000000000000..df1a498edb8f --- /dev/null +++ b/devel/p5-Object-Array/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: p5-Object-Array +# Date created: 2006-08-30 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= Object-Array +PORTVERSION= 0.060 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Object +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Array references with accessors + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils \ + ${SITE_PERL}/Sub/Exporter.pm:${PORTSDIR}/devel/p5-Sub-Exporter \ + ${SITE_PERL}/Sub/Install.pm:${PORTSDIR}/devel/p5-Sub-Install \ + ${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Object::Array.3 Object::Array::Plugin::Builtins.3 \ + Object::Array::Plugin::ListMoreUtils.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Object-Array/distinfo b/devel/p5-Object-Array/distinfo new file mode 100644 index 000000000000..03e72e6e0433 --- /dev/null +++ b/devel/p5-Object-Array/distinfo @@ -0,0 +1,3 @@ +MD5 (Object-Array-0.060.tar.gz) = 14ff94ff5d3f9af8a72758465d0d48b6 +SHA256 (Object-Array-0.060.tar.gz) = 11bb79d63f1c432496c2475e01c8e372cda93a0979672ffe3131a7ce8e0abb9a +SIZE (Object-Array-0.060.tar.gz) = 22868 diff --git a/devel/p5-Object-Array/pkg-descr b/devel/p5-Object-Array/pkg-descr new file mode 100644 index 000000000000..750f8016e631 --- /dev/null +++ b/devel/p5-Object-Array/pkg-descr @@ -0,0 +1,9 @@ +Several of these methods do not behave exactly like their builtin +counterparts. + +Specifically, any method that you would expect to return a list does +so, but only in list context. In scalar context, these methods will +return an Object::Array object constructed from a copy of the list +that would have been returned. + +WWW: http://search.cpan.org/dist/Object-Array/ diff --git a/devel/p5-Object-Array/pkg-plist b/devel/p5-Object-Array/pkg-plist new file mode 100644 index 000000000000..71ebe46bc48e --- /dev/null +++ b/devel/p5-Object-Array/pkg-plist @@ -0,0 +1,10 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Array/.packlist +%%SITE_PERL%%/Object/Array.pm +%%SITE_PERL%%/Object/Array/Plugin/Builtins.pm +%%SITE_PERL%%/Object/Array/Plugin/ListMoreUtils.pm +@dirrmtry %%SITE_PERL%%/Object/Array/Plugin +@dirrmtry %%SITE_PERL%%/Object/Array +@dirrmtry %%SITE_PERL%%/Object +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Array +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object |