Index: p5-Class-Std/Makefile =================================================================== RCS file: p5-Class-Std/Makefile diff -N p5-Class-Std/Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ p5-Class-Std/Makefile 30 May 2006 14:54:01 -0000 @@ -0,0 +1,35 @@ +# New ports collection makefile for: p5-Class-Std +# Date created: 30 May 2006 +# Whom: Andrew Pantyukhin +# +# $FreeBSD$ +# + +PORTNAME= Class-Std +DISTVERSIONPREFIX= v +DISTVERSION= 0.0.8 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Class +PKGNAMEPREFIX= p5- + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Support for creating standard "inside-out" classes + +BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ + ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \ + ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \ + ${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= YES + +MAN3= Class::Std.3 + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again +.endif + +.include Index: p5-Class-Std/distinfo =================================================================== RCS file: p5-Class-Std/distinfo diff -N p5-Class-Std/distinfo --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ p5-Class-Std/distinfo 30 May 2006 14:54:01 -0000 @@ -0,0 +1,3 @@ +MD5 (Class-Std-v0.0.8.tar.gz) = dc01fecfc8d5886e41d2e8bc2f29a7a2 +SHA256 (Class-Std-v0.0.8.tar.gz) = a828d5f07d9a92e4851be6629309d80c7c598a8756b01cd94fd1f40d683b8ef9 +SIZE (Class-Std-v0.0.8.tar.gz) = 31100 Index: p5-Class-Std/pkg-descr =================================================================== RCS file: p5-Class-Std/pkg-descr diff -N p5-Class-Std/pkg-descr --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ p5-Class-Std/pkg-descr 30 May 2006 14:54:01 -0000 @@ -0,0 +1,12 @@ +Most programmers who use Perl's object-oriented features construct their +objects by blessing a hash. But, in doing so, they undermine the +robustness of the OO approach. Hash-based objects are unencapsulated: +their entries are open for the world to access and modify. + +Objects without effective encapsulation are vulnerable. Instead of +politely respecting their public interface, some clever client coder +inevitably will realize that it's marginally faster to interact directly +with the underlying implementation, pulling out attribute values +directly from the hash of an object. + +WWW: http://search.cpan.org/dist/Class-Std/ Index: p5-Class-Std/pkg-plist =================================================================== RCS file: p5-Class-Std/pkg-plist diff -N p5-Class-Std/pkg-plist --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ p5-Class-Std/pkg-plist 30 May 2006 14:54:01 -0000 @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Class/Std.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class +@dirrmtry %%SITE_PERL%%/Class