diff options
author | skv <skv@FreeBSD.org> | 2002-12-10 10:08:57 +0000 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2002-12-10 10:08:57 +0000 |
commit | 9aa2c561783f26c233505ce0c648f6df1bf9ace4 (patch) | |
tree | 2a50cd4622a568bc079d11d686c25130de53566e /devel/p5-Class-Default | |
parent | 396d6fcbf45bf9c9d2cf635f07b536b630696d3c (diff) | |
download | FreeBSD-ports-9aa2c561783f26c233505ce0c648f6df1bf9ace4.zip FreeBSD-ports-9aa2c561783f26c233505ce0c648f6df1bf9ace4.tar.gz |
Add p5-Class-Default 0.2,
static calls apply to a default
instantiation.
Diffstat (limited to 'devel/p5-Class-Default')
-rw-r--r-- | devel/p5-Class-Default/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-Class-Default/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Class-Default/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-Class-Default/pkg-descr | 15 | ||||
-rw-r--r-- | devel/p5-Class-Default/pkg-plist | 5 |
5 files changed, 47 insertions, 0 deletions
diff --git a/devel/p5-Class-Default/Makefile b/devel/p5-Class-Default/Makefile new file mode 100644 index 0000000..79c4e41 --- /dev/null +++ b/devel/p5-Class-Default/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: Class-Default +# Date created: 10 December 2002 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= Class-Default +PORTVERSION= 0.2 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Class +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/Inspector.pm:${PORTSDIR}/devel/p5-Class-Inspector +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Class::Default.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Class-Default/distinfo b/devel/p5-Class-Default/distinfo new file mode 100644 index 0000000..30e4682 --- /dev/null +++ b/devel/p5-Class-Default/distinfo @@ -0,0 +1 @@ +MD5 (Class-Default-0.2.tar.gz) = c961e930444087c9d65877ed2e962ad5 diff --git a/devel/p5-Class-Default/pkg-comment b/devel/p5-Class-Default/pkg-comment new file mode 100644 index 0000000..8a5feb1 --- /dev/null +++ b/devel/p5-Class-Default/pkg-comment @@ -0,0 +1 @@ +Static calls apply to a default instantiation diff --git a/devel/p5-Class-Default/pkg-descr b/devel/p5-Class-Default/pkg-descr new file mode 100644 index 0000000..4176de2 --- /dev/null +++ b/devel/p5-Class-Default/pkg-descr @@ -0,0 +1,15 @@ +Class::Default provides a mechanism to allow your class to take static +method calls and apply it to a default instantiation of an object. It +provides a flexibility to an API that allows it to be used more +confortably in different situations. + +This technique appears to be especially usefull when writing modules +that you want to be used in either a single use or a persistant +environment. In a CGI like environment, you want the simplicity of a +static interface. You can call Class-method> directly, without having +to pass an instantiation around constantly. + +WWW: http://search.cpan.org/search?dist=Class-Default + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/devel/p5-Class-Default/pkg-plist b/devel/p5-Class-Default/pkg-plist new file mode 100644 index 0000000..c744ee0 --- /dev/null +++ b/devel/p5-Class-Default/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Default/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Class/Default.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Default +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true |