From ea82e1ebe4937997b96e8ef2bf686248f24d84da Mon Sep 17 00:00:00 2001 From: clsung Date: Fri, 4 May 2007 00:48:22 +0000 Subject: Add p5-CLASS 1.00, alias for __PACKAGE__. PR: ports/112306 Submitted by: Gea-Suan Lin --- devel/p5-CLASS/Makefile | 22 ++++++++++++++++++++++ devel/p5-CLASS/distinfo | 3 +++ devel/p5-CLASS/pkg-descr | 9 +++++++++ devel/p5-CLASS/pkg-plist | 4 ++++ 4 files changed, 38 insertions(+) create mode 100644 devel/p5-CLASS/Makefile create mode 100644 devel/p5-CLASS/distinfo create mode 100644 devel/p5-CLASS/pkg-descr create mode 100644 devel/p5-CLASS/pkg-plist (limited to 'devel/p5-CLASS') diff --git a/devel/p5-CLASS/Makefile b/devel/p5-CLASS/Makefile new file mode 100644 index 000000000000..8ced3e50f319 --- /dev/null +++ b/devel/p5-CLASS/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-CLASS +# Date created: 2007-05-02 +# Whom: Gea-Suan Lin +# +# $FreeBSD$ +# + +PORTNAME= CLASS +PORTVERSION= 1.00 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= ../../authors/id/M/MS/MSCHWERN/ +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Alias for __PACKAGE__ + +PERL_CONFIGURE= yes + +MAN3= CLASS.3 + +.include diff --git a/devel/p5-CLASS/distinfo b/devel/p5-CLASS/distinfo new file mode 100644 index 000000000000..79afe7e336d5 --- /dev/null +++ b/devel/p5-CLASS/distinfo @@ -0,0 +1,3 @@ +MD5 (CLASS-1.00.tar.gz) = 834b888b9c8a936b12de2c168798b618 +SHA256 (CLASS-1.00.tar.gz) = c5185620815701b3fec21314ccd8c5693e6bfd519431527da3370a8164220671 +SIZE (CLASS-1.00.tar.gz) = 3579 diff --git a/devel/p5-CLASS/pkg-descr b/devel/p5-CLASS/pkg-descr new file mode 100644 index 000000000000..cea0fdace4fd --- /dev/null +++ b/devel/p5-CLASS/pkg-descr @@ -0,0 +1,9 @@ +CLASS and $CLASS are both synonyms for __PACKAGE__. Easier to type. + +$CLASS has the additional benefit of working in strings. + +CLASS is a constant, not a subroutine call. $CLASS is a plain +variable, it is not tied. There is no performance loss for using CLASS +over __PACKAGE__ except the loading of the module. + +WWW: http://search.cpan.org/dist/CLASS/ diff --git a/devel/p5-CLASS/pkg-plist b/devel/p5-CLASS/pkg-plist new file mode 100644 index 000000000000..d18e1addcdf5 --- /dev/null +++ b/devel/p5-CLASS/pkg-plist @@ -0,0 +1,4 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/CLASS/.packlist +%%SITE_PERL%%/CLASS.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CLASS -- cgit